Package com.xebialabs.deployit.security
Class LoginPermissionVoter
java.lang.Object
com.xebialabs.deployit.security.LoginPermissionVoter
- All Implemented Interfaces:
org.springframework.security.access.AccessDecisionVoter<Object>
-
Field Summary
Fields inherited from interface org.springframework.security.access.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetWhitelistUrls(Set<String> whitelistUrls) booleanbooleansupports(org.springframework.security.access.ConfigAttribute attribute) intvote(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> attributes)
-
Constructor Details
-
LoginPermissionVoter
public LoginPermissionVoter()
-
-
Method Details
-
supports
public boolean supports(org.springframework.security.access.ConfigAttribute attribute) - Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionVoter<Object>
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionVoter<Object>
-
vote
public int vote(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> attributes) - Specified by:
votein interfaceorg.springframework.security.access.AccessDecisionVoter<Object>
-
setWhitelistUrls
-