Package io.jmix.authserver
Class AuthServerProperties
java.lang.Object
io.jmix.authserver.AuthServerProperties
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass stores Jmix-specific settings of Authorization Server client. -
Constructor Summary
ConstructorsConstructorDescriptionAuthServerProperties(boolean useDefaultConfiguration, boolean useInMemoryAuthorizationService, Map<String, AuthServerProperties.JmixClient> client, String loginPageUrl, String loginPageViewName, String authorizeEndpoint, boolean useRefererPostLogout, boolean logoutUrlParameterCheckForTokenEnabled, boolean logoutBodyFormParameterCheckForTokenEnabled, String logoutAccessTokenHeaderName, String logoutAccessTokenUrlParameterName, String logoutAccessTokenBodyFormParameterName, String postLogoutUrlRedirectParameterName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanboolean
-
Constructor Details
-
AuthServerProperties
public AuthServerProperties(@DefaultValue("true") boolean useDefaultConfiguration, @DefaultValue("false") boolean useInMemoryAuthorizationService, @DefaultValue Map<String, AuthServerProperties.JmixClient> client, @DefaultValue("/as-login") String loginPageUrl, @DefaultValue("as-login.html") String loginPageViewName, @DefaultValue("/oauth2/authorize") String authorizeEndpoint, @DefaultValue("false") boolean useRefererPostLogout, @DefaultValue("false") boolean logoutUrlParameterCheckForTokenEnabled, @DefaultValue("false") boolean logoutBodyFormParameterCheckForTokenEnabled, @DefaultValue("Authorization") String logoutAccessTokenHeaderName, @DefaultValue("token") String logoutAccessTokenUrlParameterName, @DefaultValue("token") String logoutAccessTokenBodyFormParameterName, String postLogoutUrlRedirectParameterName)
-
-
Method Details
-
isUseDefaultConfiguration
public boolean isUseDefaultConfiguration() -
isUseInMemoryAuthorizationService
public boolean isUseInMemoryAuthorizationService() -
getClient
-
getLoginPageUrl
-
getLoginPageViewName
-
getAuthorizeEndpoint
-
getPostLogoutUrlRedirectParameterName
-
isUseRefererPostLogout
public boolean isUseRefererPostLogout() -
isLogoutUrlParameterCheckForTokenEnabled
public boolean isLogoutUrlParameterCheckForTokenEnabled() -
isLogoutBodyFormParameterCheckForTokenEnabled
public boolean isLogoutBodyFormParameterCheckForTokenEnabled() -
getLogoutAccessTokenHeaderName
-
getLogoutAccessTokenUrlParameterName
-
getLogoutAccessTokenBodyFormParameterName
-