Class ClientPrincipal
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.principal.ClientPrincipal
-
- All Implemented Interfaces:
Principal
- Direct Known Subclasses:
ClientGroup
@Deprecated(forRemoval=true) public class ClientPrincipal extends Object implements Principal
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Local adapter for the JCR-RMI
RemotePrincipal
interface. This class makes a remote principal locally available using the JavaPrincipal
interface.- See Also:
Principal
,RemotePrincipal
-
-
Constructor Summary
Constructors Constructor Description ClientPrincipal(RemotePrincipal p)
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.RemotePrincipal
getRemotePrincipal()
Deprecated, for removal: This API element is subject to removal in a future version.Returns theRemotePrincipal
encapsulated in this instance.
-
-
-
Constructor Detail
-
ClientPrincipal
public ClientPrincipal(RemotePrincipal p)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getName
public String getName()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getRemotePrincipal
public final RemotePrincipal getRemotePrincipal()
Deprecated, for removal: This API element is subject to removal in a future version.Returns theRemotePrincipal
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
RemotePrincipal
encapsulated in this instance.
-
-