org.jboss.seam.security.permission
Class EntityIdentifierStrategy

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

public class EntityIdentifierStrategy
extends Object
implements IdentifierStrategy

An Identifier strategy for entity-based permission checks

Author:
Shane Bryzak

Constructor Summary
EntityIdentifierStrategy()
           
 
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

EntityIdentifierStrategy

public EntityIdentifierStrategy()
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