|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.client.principal.ClientPrincipal
public class ClientPrincipal
Local adapter for the JCR-RMI RemotePrincipal
interface. This class makes a remote principal locally available using the
Java Principal
interface.
Principal
,
RemotePrincipal
Constructor Summary | |
---|---|
ClientPrincipal(RemotePrincipal p)
|
Method Summary | |
---|---|
java.lang.String |
getName()
|
RemotePrincipal |
getRemotePrincipal()
Returns the RemotePrincipal encapsulated in this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
equals, hashCode, toString |
Constructor Detail |
---|
public ClientPrincipal(RemotePrincipal p)
Method Detail |
---|
public java.lang.String getName()
getName
in interface java.security.Principal
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |