Class DenyAllVoter
- java.lang.Object
-
- de.hybris.platform.odata2webservices.DenyAllVoter
-
- All Implemented Interfaces:
org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
public class DenyAllVoter extends java.lang.Object implements org.springframework.security.access.AccessDecisionVoter<java.lang.Object>Denies access if the Spring security intercept-url'saccessattribute is DENY_ALL.
-
-
Constructor Summary
Constructors Constructor Description DenyAllVoter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansupports(java.lang.Class<?> clazz)booleansupports(org.springframework.security.access.ConfigAttribute attribute)intvote(org.springframework.security.core.Authentication authentication, java.lang.Object object, java.util.Collection<org.springframework.security.access.ConfigAttribute> attributes)
-
-
-
Method Detail
-
supports
public boolean supports(org.springframework.security.access.ConfigAttribute attribute)
- Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionVoter<java.lang.Object>
-
supports
public boolean supports(java.lang.Class<?> clazz)
- Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionVoter<java.lang.Object>
-
vote
public int vote(org.springframework.security.core.Authentication authentication, java.lang.Object object, java.util.Collection<org.springframework.security.access.ConfigAttribute> attributes)- Specified by:
votein interfaceorg.springframework.security.access.AccessDecisionVoter<java.lang.Object>
-
-