@Deprecated public class ServerPrincipal extends ServerObject implements RemotePrincipal
ref
Constructor and Description |
---|
ServerPrincipal(Principal principal,
RemoteAdapterFactory factory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
|
Principal |
getPrincipal()
Deprecated.
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–2024 The Apache Software Foundation. All rights reserved.