|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.server.kerberos.shared.messages.value.AuthorizationData
public class AuthorizationData
An authorization data container. The ASN.1 grammar is : -- NOTE: AuthorizationData is always used as an OPTIONAL field and -- should not be empty. AuthorizationData ::= SEQUENCE OF AuthorizationDataEntry
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
parent |
| Constructor Summary | |
|---|---|
AuthorizationData()
Creates a new instance of AuthorizationData. |
|
| Method Summary | |
|---|---|
void |
add(AuthorizationData data)
Adds all AuthorizationData entries to this AuthorizationData. |
void |
add(AuthorizationDataEntry entry)
Adds an AuthorizationDataEntry to this AuthorizationData. |
int |
computeLength()
Compute the AuthorizationData length AuthorizationData : 0x30 L1 AuthorizationData | +--> 0x30 L2 AuthorizationDataEntry | +--> 0x30 L2 AuthorizationDataEntry | ... |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the AuthorizationData message to a PDU. |
java.util.List<AuthorizationDataEntry> |
getEntries()
|
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String tabs)
|
| Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthorizationData()
| Method Detail |
|---|
public void add(AuthorizationData data)
AuthorizationData entries to this AuthorizationData.
data - public void add(AuthorizationDataEntry entry)
AuthorizationDataEntry to this AuthorizationData.
entry - public java.util.List<AuthorizationDataEntry> getEntries()
public int computeLength()
computeLength in interface org.apache.directory.shared.asn1.Asn1ObjectcomputeLength in class org.apache.directory.shared.asn1.AbstractAsn1Object
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws org.apache.directory.shared.asn1.codec.EncoderException
encode in interface org.apache.directory.shared.asn1.Asn1Objectencode in class org.apache.directory.shared.asn1.AbstractAsn1Objectbuffer - The buffer where to put the PDU. It should have been allocated
before, with the right size.
org.apache.directory.shared.asn1.codec.EncoderExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String toString(java.lang.String tabs)
Object.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||