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
Constructors Constructor Description SecurityContext()
-
Method Summary
-
-
-
Method Detail
-
grantedAuthorityDefaults
@Role(2) @Bean public static GrantedAuthorityDefaults grantedAuthorityDefaults()
-
jwsKey
protected static String jwsKey(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, SecurityProperties props)
-
adminPasswordAlgorithm
@Bean public CipherAlgorithm adminPasswordAlgorithm(SecurityProperties props)
-
jwsAlgorithm
@Bean public com.nimbusds.jose.JWSAlgorithm jwsAlgorithm(SecurityProperties props)
-
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
@ConditionalOnMissingBean @Bean public PasswordGenerator passwordGenerator()
-
ruleEnforcer
@ConditionalOnMissingBean @Bean public RuleEnforcer ruleEnforcer(RealmDAO realmDAO)
-
applicationContextProvider
@Bean public ApplicationContextProvider applicationContextProvider()
-
-