Package su.onno.auth
Class OnnoAuthProperties
java.lang.Object
su.onno.auth.OnnoAuthProperties
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDemo-only authentication shortcuts for the in-memory auth mode.static classBrowser security policy for intentional iframe embedding.static enumstatic classOIDC configuration for theOnnoAuthProperties.Mode.OIDCandOnnoAuthProperties.Mode.RESOURCE_SERVERmodes.static enumProvider presets.static classPersistent "remember me" login forOnnoAuthProperties.Mode.IN_MEMORY.static final recordEffective OIDC settings after theOnnoAuthProperties.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 TypeMethodDescriptiongetDemo()getMode()getOidc()getUsers()booleanvoidsetCsrfIgnoredPaths(List<String> csrfIgnoredPaths) voidvoidsetEmbedding(OnnoAuthProperties.Embedding embedding) voidsetEnabled(boolean enabled) voidvoidvoidsetPublicPaths(List<String> publicPaths) voidsetSession(OnnoAuthProperties.Session session) voidsetUsers(List<OnnoAuthProperties.User> users)
-
Constructor Details
-
OnnoAuthProperties
public OnnoAuthProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getMode
-
setMode
-
getOidc
-
setOidc
-
getPublicPaths
-
setPublicPaths
-
getCsrfIgnoredPaths
-
setCsrfIgnoredPaths
-
getUsers
-
setUsers
-
getSession
-
setSession
-
getDemo
-
setDemo
-
getEmbedding
-
setEmbedding
-