@Component public class SAML2IdPLogic extends AbstractSAML2Logic<SAML2IdPTO>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
loader
Constructor and Description |
---|
SAML2IdPLogic() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String key) |
Set<String> |
getActionsClasses() |
Set<String> |
getRequestedAuthnContextProviderClasses() |
List<String> |
importFromMetadata(InputStream input) |
List<SAML2IdPTO> |
list() |
SAML2IdPTO |
read(String key) |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected SAML2IdPTO |
resolveReference(Method method,
Object... args) |
void |
update(SAML2IdPTO saml2IdpTO) |
check
@PreAuthorize(value="isAuthenticated()") public Set<String> getActionsClasses()
@PreAuthorize(value="isAuthenticated()") public Set<String> getRequestedAuthnContextProviderClasses()
@PreAuthorize(value="isAuthenticated()") @Transactional(readOnly=true) public List<SAML2IdPTO> list()
@PreAuthorize(value="hasRole(\'IDP_READ\')") @Transactional(readOnly=true) public SAML2IdPTO read(String key)
@PreAuthorize(value="hasRole(\'IDP_IMPORT\')") public List<String> importFromMetadata(InputStream input)
@PreAuthorize(value="hasRole(\'IDP_UPDATE\')") public void update(SAML2IdPTO saml2IdpTO)
@PreAuthorize(value="hasRole(\'IDP_DELETE\')") public void delete(String key)
protected SAML2IdPTO 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.