org.jboss.seam.security.permission
Class ClassIdentifierStrategy

java.lang.Object
  extended by org.jboss.seam.security.permission.ClassIdentifierStrategy
All Implemented Interfaces:
IdentifierStrategy

public class ClassIdentifierStrategy
extends Object
implements IdentifierStrategy

An Identifier strategy for class-based permission checks

Author:
Shane Bryzak

Constructor Summary
ClassIdentifierStrategy()
           
 
Method Summary
 boolean canIdentify(Class targetClass)
           
 String getIdentifier(Object target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassIdentifierStrategy

public ClassIdentifierStrategy()
Method Detail

canIdentify

public boolean canIdentify(Class targetClass)
Specified by:
canIdentify in interface IdentifierStrategy

getIdentifier

public String getIdentifier(Object target)
Specified by:
getIdentifier in interface IdentifierStrategy