File tree Expand file tree Collapse file tree 3 files changed +1
-62
lines changed
web/src/main/java/no/nav/foreldrepenger/web Expand file tree Collapse file tree 3 files changed +1
-62
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -124,22 +124,6 @@ public static Collection<Class<?>> getImplementationClasses() {
124124 return Set .copyOf (classes );
125125 }
126126
127- public static Collection <Class <?>> getServiceClasses () {
128- Set <Class <?>> classes = new HashSet <>();
129-
130- // Satellitt-applikasjoner
131- classes .add (FordelRestTjeneste .class );
132- classes .add (HendelserRestTjeneste .class ); // Abonnent
133- classes .add (LosRestTjeneste .class );
134- classes .add (TilbakeRestTjeneste .class );
135- classes .add (FpOversiktRestTjeneste .class );
136-
137- // Formidlingstjenester
138- classes .add (FormidlingRestTjeneste .class );
139-
140- return Set .copyOf (classes );
141- }
142-
143127 public static Set <Class <?>> getForvaltningClasses () {
144128 Set <Class <?>> classes = new HashSet <>();
145129
Original file line number Diff line number Diff line change 3636import no .nav .foreldrepenger .web .app .konfig .ApiConfig ;
3737import no .nav .foreldrepenger .web .app .konfig .EksternApiConfig ;
3838import no .nav .foreldrepenger .web .app .konfig .InternalApiConfig ;
39- import no .nav .foreldrepenger .web .app .konfig .ServiceApiConfig ;
4039
4140public class JettyServer {
4241
@@ -170,7 +169,7 @@ private static ConstraintSecurityHandler simpleConstraints() {
170169 handler .addConstraintMapping (pathConstraint (Constraint .ALLOWED , InternalApiConfig .INTERNAL_URI + "/*" ));
171170 // Slipp gjennom til autentisering i JaxRs / auth-filter
172171 handler .addConstraintMapping (pathConstraint (Constraint .ALLOWED , ApiConfig .API_URI + "/*" ));
173- handler . addConstraintMapping ( pathConstraint ( Constraint . ALLOWED , ServiceApiConfig . SERVICE_URI + "/*" ));
172+ // Slipp gjennom til autentisering i JaxRs / auth-filter
174173 handler .addConstraintMapping (pathConstraint (Constraint .ALLOWED , EksternApiConfig .EKSTERN_API_URI + "/*" ));
175174 // Alt annet av paths og metoder forbudt - 403
176175 handler .addConstraintMapping (pathConstraint (Constraint .FORBIDDEN , "/*" ));
You can’t perform that action at this time.
0 commit comments