Class IpAddressVoter
java.lang.Object
de.hybris.platform.spring.security.voter.IpAddressVoter
- All Implemented Interfaces:
org.springframework.security.access.AccessDecisionVoter<Object>
-
Field Summary
FieldsFields inherited from interface org.springframework.security.access.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleansupports(org.springframework.security.access.ConfigAttribute attribute) intvote(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> config)
-
Field Details
-
IP_PREFIX
- See Also:
-
IP_LOCAL_HOST
- See Also:
-
-
Constructor Details
-
IpAddressVoter
public IpAddressVoter()
-
-
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> config) - Specified by:
votein interfaceorg.springframework.security.access.AccessDecisionVoter<Object>
-