Package org.flowable.rest.security
Class BasicAuthenticationProvider
java.lang.Object
org.flowable.rest.security.BasicAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public class BasicAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
- Author:
- Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IdentityServiceprotected org.flowable.idm.api.IdmIdentityServiceprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) booleanvoidsetVerifyRestApiPrivilege(boolean verifyRestApiPrivilege) boolean
-
Field Details
-
identityService
-
idmIdentityService
@Autowired protected org.flowable.idm.api.IdmIdentityService idmIdentityService -
verifyRestApiPrivilege
protected boolean verifyRestApiPrivilege
-
-
Constructor Details
-
BasicAuthenticationProvider
public BasicAuthenticationProvider()
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
authenticatein interfaceorg.springframework.security.authentication.AuthenticationProvider- Throws:
org.springframework.security.core.AuthenticationException
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider
-
isVerifyRestApiPrivilege
public boolean isVerifyRestApiPrivilege() -
setVerifyRestApiPrivilege
public void setVerifyRestApiPrivilege(boolean verifyRestApiPrivilege)
-