br.gov.frameworkdemoiselle.security
Class ServletAuthorizer

java.lang.Object
  extended by br.gov.frameworkdemoiselle.security.ServletAuthorizer
All Implemented Interfaces:
Authorizer, Serializable

public class ServletAuthorizer
extends Object
implements Authorizer

See Also:
Serialized Form

Constructor Summary
ServletAuthorizer()
           
 
Method Summary
 boolean hasPermission(String resource, String operation)
           
 boolean hasRole(String role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletAuthorizer

public ServletAuthorizer()
Method Detail

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.