Constructor and Description |
---|
DMFWebAccessVoter() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(Class clazz)
Cette implementation gère tout type de classe
|
boolean |
supports(org.springframework.security.access.ConfigAttribute attribute)
Ne gère que les
DMFAttribute |
int |
vote(org.springframework.security.core.Authentication authentication,
Object object,
Collection<org.springframework.security.access.ConfigAttribute> config) |
public boolean supports(org.springframework.security.access.ConfigAttribute attribute)
DMFAttribute
supports
in interface org.springframework.security.access.AccessDecisionVoter<Object>
true
uniquement si attribute est une instance de
DMFAttributepublic boolean supports(Class clazz)
supports
in interface org.springframework.security.access.AccessDecisionVoter<Object>
clazz
- l'object sécurisétrue
public int vote(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> config)
vote
in interface org.springframework.security.access.AccessDecisionVoter<Object>
Copyright © 2016. All rights reserved.