Local adapter for the JCR-RMI RemotePrincipal
interface. This class makes a remote principal locally available using the
Java Principal
interface.
@Deprecated public class ClientPrincipal extends Object implements Principal
Principal
,
RemotePrincipal
Constructor and Description |
---|
ClientPrincipal(RemotePrincipal p)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
|
RemotePrincipal |
getRemotePrincipal()
Deprecated.
Returns the
RemotePrincipal encapsulated in this instance. |
public ClientPrincipal(RemotePrincipal p)
public final RemotePrincipal getRemotePrincipal()
RemotePrincipal
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.
RemotePrincipal
encapsulated in this instance.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.