org.apache.yoko.orb.csi
Class SecurityContext

java.lang.Object
  extended by org.apache.yoko.orb.csi.SecurityContext

public abstract class SecurityContext
extends Object


Constructor Summary
SecurityContext()
           
 
Method Summary
static Subject anonymousLogin()
           
static Subject delegate(String user, String domain)
           
static AuthenticationInfo getAuthenticationInfo()
           
static Subject login(String name, String realm, String password)
           
static void setAuthenticatedSubject(Subject subject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityContext

public SecurityContext()
Method Detail

setAuthenticatedSubject

public static void setAuthenticatedSubject(Subject subject)

anonymousLogin

public static Subject anonymousLogin()
                              throws LoginException
Throws:
LoginException

login

public static Subject login(String name,
                            String realm,
                            String password)
                     throws LoginException
Throws:
LoginException

delegate

public static Subject delegate(String user,
                               String domain)

getAuthenticationInfo

public static AuthenticationInfo getAuthenticationInfo()


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