org.apache.openejb.core.security
Class SecurityContextHandler

java.lang.Object
  extended by org.apache.openejb.core.security.SecurityContextHandler
All Implemented Interfaces:
org.apache.geronimo.connector.work.WorkContextHandler<javax.resource.spi.work.SecurityContext>

public class SecurityContextHandler
extends Object
implements org.apache.geronimo.connector.work.WorkContextHandler<javax.resource.spi.work.SecurityContext>


Constructor Summary
SecurityContextHandler(String securityRealmName)
           
 
Method Summary
 void after(javax.resource.spi.work.SecurityContext securityContext)
           
 void before(javax.resource.spi.work.SecurityContext securityContext)
           
 boolean required()
           
 boolean supports(Class<? extends javax.resource.spi.work.WorkContext> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityContextHandler

public SecurityContextHandler(String securityRealmName)
Method Detail

before

public void before(javax.resource.spi.work.SecurityContext securityContext)
            throws javax.resource.spi.work.WorkCompletedException
Specified by:
before in interface org.apache.geronimo.connector.work.WorkContextHandler<javax.resource.spi.work.SecurityContext>
Throws:
javax.resource.spi.work.WorkCompletedException

after

public void after(javax.resource.spi.work.SecurityContext securityContext)
           throws javax.resource.spi.work.WorkCompletedException
Specified by:
after in interface org.apache.geronimo.connector.work.WorkContextHandler<javax.resource.spi.work.SecurityContext>
Throws:
javax.resource.spi.work.WorkCompletedException

supports

public boolean supports(Class<? extends javax.resource.spi.work.WorkContext> clazz)
Specified by:
supports in interface org.apache.geronimo.connector.work.WorkContextHandler<javax.resource.spi.work.SecurityContext>

required

public boolean required()
Specified by:
required in interface org.apache.geronimo.connector.work.WorkContextHandler<javax.resource.spi.work.SecurityContext>


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.