org.apache.geronimo.security.jaas
Class LoginUtils

java.lang.Object
  extended by org.apache.geronimo.security.jaas.LoginUtils

public class LoginUtils
extends Object

Helper class the computes the login result across a number of separate login modules.


Constructor Summary
LoginUtils()
           
 
Method Summary
static void copyPrincipals(Subject to, Subject from)
           
static JaasLoginModuleConfiguration getSerializableCopy(JaasLoginModuleConfiguration config)
          Strips out stuff that isn't serializable so this can be safely passed to a remote server.
static Map getSerializableCopy(Map from)
           
static Set getSerializableCopy(Set from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginUtils

public LoginUtils()
Method Detail

copyPrincipals

public static void copyPrincipals(Subject to,
                                  Subject from)

getSerializableCopy

public static Map getSerializableCopy(Map from)

getSerializableCopy

public static Set getSerializableCopy(Set from)

getSerializableCopy

public static JaasLoginModuleConfiguration getSerializableCopy(JaasLoginModuleConfiguration config)
Strips out stuff that isn't serializable so this can be safely passed to a remote server.



Copyright © 2006 Apache Software Foundation. All Rights Reserved.