org.apache.openejb.core.security
Class ConnectorCallbackHandler

java.lang.Object
  extended by org.apache.openejb.core.security.ConnectorCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class ConnectorCallbackHandler
extends Object
implements CallbackHandler

Spec 16.4.1: must support CallerPrincipalCallback, GroupPrincipalCallback, PasswordValidationCallback. Recommended to support CertStoreCallback, PrivateKeyCallback, SecretKeyCallback, and TrustStoreCallback.

Version:
$Rev: 925911 $ $Date: 2010-03-21 22:03:35 +0000 (Sun, 21 Mar 2010) $

Constructor Summary
ConnectorCallbackHandler(String securityRealmName)
           
 
Method Summary
 Principal getCallerPrincipal()
           
 List<String> getGroups()
           
 void handle(Callback[] callbacks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorCallbackHandler

public ConnectorCallbackHandler(String securityRealmName)
Method Detail

handle

public void handle(Callback[] callbacks)
            throws IOException,
                   UnsupportedCallbackException
Specified by:
handle in interface CallbackHandler
Throws:
IOException
UnsupportedCallbackException

getCallerPrincipal

public Principal getCallerPrincipal()

getGroups

public List<String> getGroups()


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