public class WhoAmIResponseDecorator
extends org.apache.directory.api.ldap.codec.api.ExtendedResponseDecorator<org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse>
implements org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse
responseValue| Constructor and Description |
|---|
WhoAmIResponseDecorator(org.apache.directory.api.ldap.codec.api.LdapApiService codec,
org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse decoratedMessage) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAuthzId() |
String |
getAuthzIdString() |
org.apache.directory.api.ldap.model.name.Dn |
getDn() |
String |
getResponseName()
Overload the parent's getResponseName method, as the WhoAmI response should not
contain the responseName.
|
byte[] |
getResponseValue() |
String |
getUserId() |
boolean |
isDnAuthzId() |
boolean |
isUserAuthzId() |
void |
setAuthzId(byte[] authzId) |
void |
setResponseValue(byte[] responseValue) |
computeLength, encode, setResponseNamegetLdapResult, setLdapResultaddAllControls, addControl, get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, removeControl, setControlsLength, setMessageId, setMessageLength, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetResponseNamepublic WhoAmIResponseDecorator(org.apache.directory.api.ldap.codec.api.LdapApiService codec,
org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse decoratedMessage)
public void setResponseValue(byte[] responseValue)
setResponseValue in class org.apache.directory.api.ldap.codec.api.ExtendedResponseDecorator<org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse>public byte[] getResponseValue()
getResponseValue in class org.apache.directory.api.ldap.codec.api.ExtendedResponseDecorator<org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse>public byte[] getAuthzId()
getAuthzId in interface org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponsepublic void setAuthzId(byte[] authzId)
setAuthzId in interface org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponsepublic boolean isDnAuthzId()
isDnAuthzId in interface org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponsepublic boolean isUserAuthzId()
isUserAuthzId in interface org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponsepublic String getAuthzIdString()
getAuthzIdString in interface org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponsepublic String getUserId()
getUserId in interface org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponsepublic org.apache.directory.api.ldap.model.name.Dn getDn()
getDn in interface org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponsepublic String getResponseName()
getResponseName in interface org.apache.directory.api.ldap.model.message.ExtendedResponsegetResponseName in class org.apache.directory.api.ldap.codec.api.ExtendedResponseDecorator<org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponse>Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.