atg.security
Class SerializedUserAuthority
java.lang.Object
  
atg.security.SerializedUserAuthority
public class SerializedUserAuthority
- extends java.lang.Object
 
This utility class manages the serialization and de-serialization of user
 authority objects.  It ensures that all serialized objects referring
 to the same user authority have references to the same user authority
 object within a JVM, necessary to ensure that equality checks work.
 There is a bug in this implementation where proxy'ed user authorities that
 have a round-trip serialization process done will not be resolved back
 to the proxy but rather to the original (proxy target) user authority.
 
 
| 
Method Summary | 
static UserAuthority | 
read(java.io.ObjectInputStream pIn)
 
          Returns the actual user authority given this substitute, if possible. | 
static void | 
write(java.io.ObjectOutputStream pOut,
      UserAuthority pRealAuthority)
 
          Writes out a serialized substitute object for a user authority. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CLASS_VERSION
public static java.lang.String CLASS_VERSION
SerializedUserAuthority
public SerializedUserAuthority()
read
public static UserAuthority read(java.io.ObjectInputStream pIn)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException,
                                 java.rmi.RemoteException
- Returns the actual user authority given this substitute, if possible.
- Throws:
 java.io.IOException
java.lang.ClassNotFoundException
java.rmi.RemoteException
 
 
write
public static void write(java.io.ObjectOutputStream pOut,
                         UserAuthority pRealAuthority)
                  throws java.io.IOException,
                         java.rmi.RemoteException
- Writes out a serialized substitute object for a user authority.
- Throws:
 java.io.IOException
java.rmi.RemoteException