org.jboss.test.security.proxy
Class ProjRepositorySecurityProxy2

java.lang.Object
  extended byorg.jboss.test.security.proxy.ProjRepositorySecurityProxy2
All Implemented Interfaces:
IProjRepository (src)

public class ProjRepositorySecurityProxy2
extends java.lang.Object
implements IProjRepository (src)

A simple stateful security proxy example for the ProjRepository bean.

See Also:
Name, Attributes, org.jboss.test.security.test.ejbs.project.interfaces.IProjRepository

Constructor Summary
ProjRepositorySecurityProxy2()
           
 
Method Summary
 void createFolder(javax.naming.Name folderPath)
           
 void createItem(javax.naming.Name itemPath, javax.naming.directory.Attributes attributes)
           
 void deleteFolder(javax.naming.Name folderPath, boolean recursive)
           
 void deleteItem(javax.naming.Name itemPath)
           
 void ejbCreate(javax.naming.Name projectName)
           
 javax.naming.directory.Attributes getItem(javax.naming.Name itemPath)
           
 void setBean(java.lang.Object bean)
           
 void setEJBContext(EJBContext (src)  ctx)
           
 void updateItem(javax.naming.Name itemPath, javax.naming.directory.Attributes attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjRepositorySecurityProxy2

public ProjRepositorySecurityProxy2()
Method Detail

setEJBContext

public void setEJBContext(EJBContext (src)  ctx)

setBean

public void setBean(java.lang.Object bean)

ejbCreate

public void ejbCreate(javax.naming.Name projectName)

createFolder

public void createFolder(javax.naming.Name folderPath)
Specified by:
createFolder in interface IProjRepository (src)

deleteFolder

public void deleteFolder(javax.naming.Name folderPath,
                         boolean recursive)
Specified by:
deleteFolder in interface IProjRepository (src)

createItem

public void createItem(javax.naming.Name itemPath,
                       javax.naming.directory.Attributes attributes)
Specified by:
createItem in interface IProjRepository (src)

updateItem

public void updateItem(javax.naming.Name itemPath,
                       javax.naming.directory.Attributes attributes)
Specified by:
updateItem in interface IProjRepository (src)

deleteItem

public void deleteItem(javax.naming.Name itemPath)
Specified by:
deleteItem in interface IProjRepository (src)

getItem

public javax.naming.directory.Attributes getItem(javax.naming.Name itemPath)
Specified by:
getItem in interface IProjRepository (src)