Class SecurityContext
java.lang.Object
org.apache.syncope.core.spring.security.SecurityContext
@EnableConfigurationProperties(SecurityProperties.class)
@Configuration(proxyBeanMethods=false)
public class SecurityContext
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessTokenJWSSigner
(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, SecurityProperties props) accessTokenJWSVerifier
(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, SecurityProperties props) credentialChecker
(SecurityProperties props, com.nimbusds.jose.JWSAlgorithm jwsAlgorithm) static GrantedAuthorityDefaults
com.nimbusds.jose.JWSAlgorithm
jwsAlgorithm
(SecurityProperties props) protected static String
jwsKey
(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, SecurityProperties props) ruleProvider
(RealmSearchDAO realmSearchDAO) syncopeJWTSSOProvider
(SecurityProperties props, AccessTokenJWSVerifier accessTokenJWSVerifier, UserDAO userDAO, AccessTokenDAO accessTokenDAO)
-
Constructor Details
-
SecurityContext
public SecurityContext()
-
-
Method Details
-
grantedAuthorityDefaults
-
jwsKey
protected static String jwsKey(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, SecurityProperties props) -
adminPasswordAlgorithm
-
jwsAlgorithm
-
credentialChecker
@ConditionalOnMissingBean @Bean public DefaultCredentialChecker credentialChecker(SecurityProperties props, com.nimbusds.jose.JWSAlgorithm jwsAlgorithm) -
accessTokenJWSVerifier
@ConditionalOnMissingBean @Bean public AccessTokenJWSVerifier accessTokenJWSVerifier(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, SecurityProperties props) throws com.nimbusds.jose.JOSEException, NoSuchAlgorithmException, InvalidKeySpecException - Throws:
com.nimbusds.jose.JOSEException
NoSuchAlgorithmException
InvalidKeySpecException
-
accessTokenJWSSigner
@ConditionalOnMissingBean @Bean public AccessTokenJWSSigner accessTokenJWSSigner(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, SecurityProperties props) throws com.nimbusds.jose.KeyLengthException, NoSuchAlgorithmException, InvalidKeySpecException - Throws:
com.nimbusds.jose.KeyLengthException
NoSuchAlgorithmException
InvalidKeySpecException
-
syncopeJWTSSOProvider
@ConditionalOnMissingBean @Bean public SyncopeJWTSSOProvider syncopeJWTSSOProvider(SecurityProperties props, AccessTokenJWSVerifier accessTokenJWSVerifier, UserDAO userDAO, AccessTokenDAO accessTokenDAO) -
passwordGenerator
-
ruleProvider
-
applicationContextProvider
-