org.openliberty.arisid.protocol.ldap
Class ProxyAuthControl
java.lang.Object
org.openliberty.arisid.protocol.ldap.ProxyAuthControl
- All Implemented Interfaces:
- java.io.Serializable, javax.naming.ldap.Control
public class ProxyAuthControl
- extends java.lang.Object
- implements javax.naming.ldap.Control
Implementation of RFC 4370 Proxy Auth Control. Used by Attribute Service
providers to encode a principal as an LDAP Proxy auth control.
- See Also:
- Serialized Form
Fields inherited from interface javax.naming.ldap.Control |
CRITICAL, NONCRITICAL |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OID_PROXY_AUTH_CONTROL
public static java.lang.String OID_PROXY_AUTH_CONTROL
ProxyAuthControl
public ProxyAuthControl(java.lang.String authZidentifier)
throws IGFException
- Throws:
IGFException
ProxyAuthControl
public ProxyAuthControl(IPrincipalIdentifier authZPrincipal)
throws IGFException
- Throws:
IGFException
ProxyAuthControl
public ProxyAuthControl(byte[] encodedValue)
throws DecodeException
- Throws:
DecodeException
getEncodedValue
public byte[] getEncodedValue()
- Specified by:
getEncodedValue
in interface javax.naming.ldap.Control
getID
public java.lang.String getID()
- Specified by:
getID
in interface javax.naming.ldap.Control
getAuthZIdentifier
public java.lang.String getAuthZIdentifier()
isCritical
public boolean isCritical()
- Specified by:
isCritical
in interface javax.naming.ldap.Control
forceNonCritical
public void forceNonCritical()
- ProxyAuthControl is intended to be critical according to RFC. However
criticality can be turned off for testing purposes using this method.