org.apache.yoko.orb.csi
Interface SecurityContextDelegate


public interface SecurityContextDelegate

Interface to the application server logic needed by CSI


Method Summary
 Subject anonymousLogin()
          do an anonymous login
 Subject delegate(String user, String domain)
          establish user
 AuthenticationInfo getAuthenticationInfo()
          get info needed to construct an out-bound IIOP request with CSIv2
 Subject login(String name, String realm, String password)
          do a login
 void setAuthenticatedSubject(Subject subject)
          set the current system subject
 

Method Detail

getAuthenticationInfo

AuthenticationInfo getAuthenticationInfo()
get info needed to construct an out-bound IIOP request with CSIv2


login

Subject login(String name,
              String realm,
              String password)
              throws LoginException
do a login

Throws:
LoginException

anonymousLogin

Subject anonymousLogin()
                       throws LoginException
do an anonymous login

Throws:
LoginException

setAuthenticatedSubject

void setAuthenticatedSubject(Subject subject)
set the current system subject


delegate

Subject delegate(String user,
                 String domain)
establish user



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.