Class ProxiedAuthzFactory
- java.lang.Object
-
- org.apache.directory.api.ldap.codec.controls.proxiedauthz.ProxiedAuthzFactory
-
- All Implemented Interfaces:
ControlFactory<ProxiedAuthz>
public class ProxiedAuthzFactory extends Object implements ControlFactory<ProxiedAuthz>
AControlFactory
forProxiedAuthz
controls.- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description ProxiedAuthzFactory(LdapApiService codec)
Creates a new instance of ProxiedAuthzFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOid()
CodecControl<ProxiedAuthz>
newCodecControl()
Creates and returns a decorated version of the Control.CodecControl<ProxiedAuthz>
newCodecControl(ProxiedAuthz control)
Decorates an existing control.
-
-
-
Constructor Detail
-
ProxiedAuthzFactory
public ProxiedAuthzFactory(LdapApiService codec)
Creates a new instance of ProxiedAuthzFactory.- Parameters:
codec
- The LDAP codec.
-
-
Method Detail
-
getOid
public String getOid()
- Specified by:
getOid
in interfaceControlFactory<ProxiedAuthz>
- Returns:
- The OID of the Control this factory creates.
-
newCodecControl
public CodecControl<ProxiedAuthz> newCodecControl()
Creates and returns a decorated version of the Control.- Specified by:
newCodecControl
in interfaceControlFactory<ProxiedAuthz>
- Returns:
- The
CodecControl
decorated version of the Control.
-
newCodecControl
public CodecControl<ProxiedAuthz> newCodecControl(ProxiedAuthz control)
Decorates an existing control. Implementors should check to make sure the supplied Control has not already been decorated to prevent needless decorator nesting.- Specified by:
newCodecControl
in interfaceControlFactory<ProxiedAuthz>
- Parameters:
control
- TheControl
to be decorated.- Returns:
- The decorator wrapping the Control.
-
-