@Component public class OIDCClientLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
OIDCClientLogic() |
Modifier and Type | Method and Description |
---|---|
OIDCLoginRequestTO |
createLoginRequest(String redirectURI,
String opName) |
OIDCLogoutRequestTO |
createLogoutRequest(String op) |
OIDCLoginResponseTO |
login(String redirectURI,
String authorizationCode,
String opName) |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected EntityTO |
resolveReference(Method method,
Object... args) |
@PreAuthorize(value="hasRole(\'ANONYMOUS\')") public OIDCLoginRequestTO createLoginRequest(String redirectURI, String opName)
@PreAuthorize(value="hasRole(\'ANONYMOUS\')") public OIDCLoginResponseTO login(String redirectURI, String authorizationCode, String opName)
@PreAuthorize(value="isAuthenticated() and not(hasRole(\'ANONYMOUS\'))") public OIDCLogoutRequestTO createLogoutRequest(String op)
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
UnresolvedReferenceException
public T resolveBeanReference(Method method, Object... args) throws UnresolvedReferenceException
method
- method.args
- method arguments.UnresolvedReferenceException
- in case of failures, read-only methods and unresolved bean.Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.