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, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public ServerPrincipal(Principal principal, RemoteAdapterFactory factory) throws RemoteException
RemoteException
public String getName()
getName
in interface RemotePrincipal
Principal.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.