Package com.onec.auth
Class OnecAuthProperties
java.lang.Object
com.onec.auth.OnecAuthProperties
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classOIDC configuration for theOnecAuthProperties.Mode.OIDCandOnecAuthProperties.Mode.RESOURCE_SERVERmodes.static enumProvider presets.static classPersistent "remember me" login forOnecAuthProperties.Mode.IN_MEMORY.static final recordEffective OIDC settings after theOnecAuthProperties.Providerpreset has been applied.static classHow token claims map onto Spring Security authorities.static classOne claim that carries roles, and the shape of its value.static classSession longevity for the cookie-based modes.static enumThe shape of a role claim's value.static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMode()getOidc()getUsers()booleanvoidsetCsrfIgnoredPaths(List<String> csrfIgnoredPaths) voidsetEnabled(boolean enabled) voidvoidvoidsetPublicPaths(List<String> publicPaths) voidsetSession(OnecAuthProperties.Session session) voidsetUsers(List<OnecAuthProperties.User> users)
-
Constructor Details
-
OnecAuthProperties
public OnecAuthProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getMode
-
setMode
-
getOidc
-
setOidc
-
getPublicPaths
-
setPublicPaths
-
getCsrfIgnoredPaths
-
setCsrfIgnoredPaths
-
getUsers
-
setUsers
-
getSession
-
setSession
-