|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.types.Control
org.opends.server.controls.AuthorizationIdentityResponseControl
public class AuthorizationIdentityResponseControl
This class implements the authorization identity response control as defined in RFC 3829. It may be included in a bind response message to provide the authorization ID resulting for a client after the bind operation as completed.
Constructor Summary | |
---|---|
AuthorizationIdentityResponseControl()
Creates a new authorization identity response control using the default settings to indicate an anonymous authentication. |
|
AuthorizationIdentityResponseControl(DN authorizationDN)
Creates a new authorization identity response control with the provided information. |
|
AuthorizationIdentityResponseControl(java.lang.String authorizationID)
Creates a new authorization identity response control with the provided information. |
|
AuthorizationIdentityResponseControl(java.lang.String oid,
boolean isCritical,
DN authorizationDN)
Creates a new authorization identity response control with the provided information. |
|
AuthorizationIdentityResponseControl(java.lang.String oid,
boolean isCritical,
java.lang.String authorizationID)
Creates a new authorization identity response control with the provided information. |
Method Summary | |
---|---|
static AuthorizationIdentityResponseControl |
decodeControl(Control control)
Creates a new authorization identity response control from the contents of the provided control. |
java.lang.String |
getAuthorizationID()
Retrieves the authorization ID for this authorization identity response control. |
void |
setAuthorizationID(java.lang.String authorizationID)
Specifies the authorization ID for this authorization identity response control. |
java.lang.String |
toString()
Retrieves a string representation of this authorization identity response control. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this authorization identity response control to the provided buffer. |
Methods inherited from class org.opends.server.types.Control |
---|
getOID, getValue, hasValue, isCritical, setCritical, setOID, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuthorizationIdentityResponseControl()
public AuthorizationIdentityResponseControl(java.lang.String authorizationID)
authorizationID
- The authorization ID for this control.public AuthorizationIdentityResponseControl(DN authorizationDN)
authorizationDN
- The authorization DN for this control.public AuthorizationIdentityResponseControl(java.lang.String oid, boolean isCritical, java.lang.String authorizationID)
oid
- The OID to use for this control.isCritical
- Indicates whether this control should be
considered a critical part of the response
processing.authorizationID
- The authorization ID for this control.public AuthorizationIdentityResponseControl(java.lang.String oid, boolean isCritical, DN authorizationDN)
oid
- The OID to use for this control.isCritical
- Indicates whether this control should be
considered a critical part of the response
processing.authorizationDN
- The authorization DN for this control.Method Detail |
---|
public static AuthorizationIdentityResponseControl decodeControl(Control control) throws LDAPException
control
- The generic control containing the information to use to
create this authorization identity response control.
LDAPException
- If this control cannot be decoded as a valid
authorization identity response control.public java.lang.String getAuthorizationID()
public void setAuthorizationID(java.lang.String authorizationID)
authorizationID
- The authorization ID for this authorization
identity response control.public java.lang.String toString()
toString
in class Control
public void toString(java.lang.StringBuilder buffer)
toString
in class Control
buffer
- The buffer to which the information should be appended.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |