Package org.apache.syncope.core.logic
Class OIDCC4UILogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<EntityTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
org.apache.syncope.core.logic.OIDCC4UILogic
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AccessTokenDAOprotected final AccessTokenDataBinderprotected final AuthDataAccessorprotected final EncryptorManagerprotected static final Stringprotected static final Stringprotected final OIDCClientCacheprotected final OIDCClientCacheprotected final OIDCC4UIProviderDAOprotected final OIDCUserManagerFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionOIDCC4UILogic(OIDCClientCache oidcClientCacheLogin, OIDCClientCache oidcClientCacheLogout, AuthDataAccessor authDataAccessor, AccessTokenDataBinder accessTokenDataBinder, OIDCC4UIProviderDAO opDAO, AccessTokenDAO accessTokenDAO, OIDCUserManager userManager, EncryptorManager encryptorManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidbackChannelLogout(String logoutToken, String redirectURI) createLoginRequest(String redirectURI, String opName, boolean reauth) createLogoutRequest(String accessToken, String redirectURI) protected org.pac4j.oidc.client.OidcClientgetOidcClient(OIDCClientCache oidcClientCache, OIDCC4UIProvider op, String callbackUrl) protected EntityTOresolveReference(Method method, Object... args) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
JWT_CLAIM_OP_NAME
- See Also:
-
JWT_CLAIM_ID_TOKEN
- See Also:
-
oidcClientCacheLogin
-
oidcClientCacheLogout
-
authDataAccessor
-
accessTokenDataBinder
-
opDAO
-
accessTokenDAO
-
userManager
-
encryptorManager
-
-
Constructor Details
-
OIDCC4UILogic
public OIDCC4UILogic(OIDCClientCache oidcClientCacheLogin, OIDCClientCache oidcClientCacheLogout, AuthDataAccessor authDataAccessor, AccessTokenDataBinder accessTokenDataBinder, OIDCC4UIProviderDAO opDAO, AccessTokenDAO accessTokenDAO, OIDCUserManager userManager, EncryptorManager encryptorManager)
-
-
Method Details
-
getOidcClient
protected org.pac4j.oidc.client.OidcClient getOidcClient(OIDCClientCache oidcClientCache, OIDCC4UIProvider op, String callbackUrl) -
createLoginRequest
@PreAuthorize("hasRole(\'ANONYMOUS\')") public OIDCRequest createLoginRequest(String redirectURI, String opName, boolean reauth) -
login
@PreAuthorize("hasRole(\'ANONYMOUS\')") public OIDCLoginResponse login(String redirectURI, String authorizationCode, String opName) -
createLogoutRequest
@PreAuthorize("isAuthenticated() and not(hasRole(\'ANONYMOUS\'))") public OIDCRequest createLogoutRequest(String accessToken, String redirectURI) -
backChannelLogout
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void backChannelLogout(String logoutToken, String redirectURI) -
resolveReference
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReferencein classAbstractLogic<EntityTO>- Throws:
UnresolvedReferenceException
-