public class ServerPrincipal extends ServerObject implements RemotePrincipal
ref| Constructor and Description |
|---|
ServerPrincipal(Principal principal,
RemoteAdapterFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Principal |
getPrincipal()
Returns the
Principal encapsulated in this instance. |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic ServerPrincipal(Principal principal, RemoteAdapterFactory factory) throws RemoteException
RemoteExceptionpublic String getName()
getName in interface RemotePrincipalPrincipal.getName()public Principal getPrincipal()
Principal 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.
Principal encapsulated in this instance.Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.