Class ServerPrincipal
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jackrabbit.rmi.server.ServerObject
-
- org.apache.jackrabbit.rmi.server.principal.ServerPrincipal
-
- All Implemented Interfaces:
Serializable,Remote,RemotePrincipal
- Direct Known Subclasses:
ServerGroup
@Deprecated public class ServerPrincipal extends ServerObject implements RemotePrincipal
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerPrincipal(Principal principal, RemoteAdapterFactory factory)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetName()Deprecated.PrincipalgetPrincipal()Deprecated.Returns thePrincipalencapsulated in this instance.-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
Constructor Detail
-
ServerPrincipal
public ServerPrincipal(Principal principal, RemoteAdapterFactory factory) throws RemoteException
Deprecated.- Throws:
RemoteException
-
-
Method Detail
-
getName
public String getName()
Deprecated.- Specified by:
getNamein interfaceRemotePrincipal- See Also:
Principal.getName()
-
getPrincipal
public Principal getPrincipal()
Deprecated.Returns thePrincipalencapsulated in this instance.NOTE: This method is intended to only be used in the JCR RMI implementation to be able to "send back" remote principals to the server for implementation of the remote JCR API.
- Returns:
- the
Principalencapsulated in this instance.
-
-