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
Fields Modifier and Type Field Description protected IdentityServiceidentityServiceprotected org.flowable.idm.api.IdmIdentityServiceidmIdentityServiceprotected booleanverifyRestApiPrivilege
-
Constructor Summary
Constructors Constructor Description BasicAuthenticationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication)booleanisVerifyRestApiPrivilege()voidsetVerifyRestApiPrivilege(boolean verifyRestApiPrivilege)booleansupports(Class<?> authentication)
-
-
-
Field Detail
-
identityService
@Autowired protected IdentityService identityService
-
idmIdentityService
@Autowired protected org.flowable.idm.api.IdmIdentityService idmIdentityService
-
verifyRestApiPrivilege
protected boolean verifyRestApiPrivilege
-
-
Method Detail
-
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
public boolean supports(Class<?> authentication)
- Specified by:
supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider
-
isVerifyRestApiPrivilege
public boolean isVerifyRestApiPrivilege()
-
setVerifyRestApiPrivilege
public void setVerifyRestApiPrivilege(boolean verifyRestApiPrivilege)
-
-