|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.BitHelper
com.tangosol.util.ExternalizableHelper
com.tangosol.net.security.PermissionInfo
public class PermissionInfo
PermissionInfo holds the information needed to validate and respond to a security related request.
Constructor Summary | |
---|---|
PermissionInfo() Default constructor (required by PortableObject). |
|
PermissionInfo(ClusterPermission permission, String sServiceName, SignedObject signedPermission, Subject subject) Construct a PermissionInfo. |
Method Summary | |
---|---|
ClusterPermission |
getPermission() Return the ClusterPermission object. |
String |
getServiceName() Return the service name. |
SignedObject |
getSignedPermission() Return the encrypted ClusterPermission object. |
Subject |
getSubject() Return the encryptor subject. |
void |
readExternal(ObjectInput in) |
void |
readExternal(PofReader in) Restore the contents of a user type instance by reading its state using the specified PofReader object. |
void |
writeExternal(ObjectOutput out) |
void |
writeExternal(PofWriter out) Save the contents of a POF user type instance by writing its state using the specified PofWriter object. |
Methods inherited from class com.tangosol.util.BitHelper |
---|
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, toBitString, toBitString, toBitString |
Constructor Detail |
---|
public PermissionInfo()
public PermissionInfo(ClusterPermission permission, String sServiceName, SignedObject signedPermission, Subject subject)
permission
- the ClusterPermissionsServiceName
- the service namesignedPermission
- the encrypted ClusterPermissionsubject
- the encryptor SubjectMethod Detail |
---|
public ClusterPermission getPermission()
public String getServiceName()
public SignedObject getSignedPermission()
public Subject getSubject()
public void readExternal(PofReader in) throws IOException
readExternal
in interface PortableObject
in
- the PofReader from which to read the object's stateIOException
- if an I/O error occurspublic void writeExternal(PofWriter out) throws IOException
writeExternal
in interface PortableObject
out
- the PofWriter to which to write the object's stateIOException
- if an I/O error occurspublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |