public class SerializedUserAuthority
extends java.lang.Object
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.
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION  | 
| Constructor and Description | 
|---|
SerializedUserAuthority()  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
public static UserAuthority read(java.io.ObjectInputStream pIn) throws java.io.IOException, java.lang.ClassNotFoundException, java.rmi.RemoteException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionjava.rmi.RemoteExceptionpublic static void write(java.io.ObjectOutputStream pOut,
                         UserAuthority pRealAuthority)
                  throws java.io.IOException,
                         java.rmi.RemoteException
java.io.IOExceptionjava.rmi.RemoteException