@Component public class OIDCProviderLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
OIDCProviderLogic() |
Modifier and Type | Method and Description |
---|---|
String |
create(OIDCProviderTO opTO) |
String |
createFromDiscovery(OIDCProviderTO opTO) |
void |
delete(String key) |
Set<String> |
getActionsClasses() |
List<OIDCProviderTO> |
list() |
OIDCProviderTO |
read(String key) |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected OIDCProviderTO |
resolveReference(Method method,
Object... args) |
void |
update(OIDCProviderTO oidcProviderTO) |
@PreAuthorize(value="isAuthenticated()") public Set<String> getActionsClasses()
@PreAuthorize(value="hasRole(\'OP_CREATE\')") public String createFromDiscovery(OIDCProviderTO opTO)
@PreAuthorize(value="hasRole(\'OP_CREATE\')") public String create(OIDCProviderTO opTO)
@PreAuthorize(value="isAuthenticated()") @Transactional(readOnly=true) public List<OIDCProviderTO> list()
@PreAuthorize(value="hasRole(\'OP_READ\')") @Transactional(readOnly=true) public OIDCProviderTO read(String key)
@PreAuthorize(value="hasRole(\'OP_UPDATE\')") public void update(OIDCProviderTO oidcProviderTO)
@PreAuthorize(value="hasRole(\'OP_DELETE\')") public void delete(String key)
protected OIDCProviderTO 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.