public class ClientPrincipal extends Object implements Principal
RemotePrincipal
 interface. This class makes a remote principal locally available using the
 Java Principal interface.Principal, 
RemotePrincipal| Constructor and Description | 
|---|
| ClientPrincipal(RemotePrincipal p) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getName() | 
| RemotePrincipal | getRemotePrincipal()Returns the  RemotePrincipalencapsulated 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–2022 The Apache Software Foundation. All rights reserved.