br.gov.frameworkdemoiselle.security
Class ServletAuthorizer
java.lang.Object
br.gov.frameworkdemoiselle.security.ServletAuthorizer
- All Implemented Interfaces:
- Authorizer, Serializable
public class ServletAuthorizer
- extends Object
- implements Authorizer
Implements the Authorizer interface, offering a way to implement offering a manner to use the authorizer's
functionalities.
- Author:
- SERPRO
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletAuthorizer
public ServletAuthorizer()
hasRole
public boolean hasRole(String role)
- Specified by:
hasRole in interface Authorizer
hasPermission
public boolean hasPermission(String resource,
String operation)
- Specified by:
hasPermission in interface Authorizer
Copyright © 2013 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.