Skip to content

Commit

Permalink
Expand-fase for å isolere innkommende STS
Browse files Browse the repository at this point in the history
  • Loading branch information
jolarsen committed Aug 15, 2024
1 parent 156894e commit 5bb2ac7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package no.nav.vedtak.sikkerhet.jaxrs;

import jakarta.ws.rs.NameBinding;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/*
* Brukes i en overgangsfase for å annotere noen få endepunkt som skal tillate innkommende kall med STS
*/
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
@NameBinding
public @interface TillatSTS {
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Target({ElementType.METHOD, ElementType.TYPE})
@NameBinding
public @interface UtenAutentisering {
}

0 comments on commit 5bb2ac7

Please sign in to comment.