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(forRemoval=true) public class ServerPrincipal extends ServerObject implements RemotePrincipal
Deprecated, for removal: This API element is subject to removal in a future version.- 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, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getName()
Deprecated, for removal: This API element is subject to removal in a future version.Principal
getPrincipal()
Deprecated, for removal: This API element is subject to removal in a future version.Returns thePrincipal
encapsulated 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, 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, for removal: This API element is subject to removal in a future version.- Throws:
RemoteException
-
-
Method Detail
-
getName
public String getName()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getName
in interfaceRemotePrincipal
- See Also:
Principal.getName()
-
getPrincipal
public Principal getPrincipal()
Deprecated, for removal: This API element is subject to removal in a future version.Returns thePrincipal
encapsulated 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
Principal
encapsulated in this instance.
-
-