public class ServerPrincipal extends ServerObject implements RemotePrincipal
| Constructor and Description |
|---|
ServerPrincipal(java.security.Principal principal,
RemoteAdapterFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.security.Principal |
getPrincipal()
Returns the
Principal encapsulated in this instance. |
clone, exportObject, exportObject, exportObject, unexportObjectpublic ServerPrincipal(java.security.Principal principal,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.lang.String getName()
getName in interface RemotePrincipalPrincipal.getName()public java.security.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 © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"