org.apache.directory.api.ldap.codec.actions.bindRequest
Class InitSaslBind

java.lang.Object
  extended by org.apache.directory.api.asn1.ber.grammar.GrammarAction<LdapMessageContainer<BindRequestDecorator>>
      extended by org.apache.directory.api.ldap.codec.actions.bindRequest.InitSaslBind
All Implemented Interfaces:
Action<LdapMessageContainer<BindRequestDecorator>>

public class InitSaslBind
extends GrammarAction<LdapMessageContainer<BindRequestDecorator>>

The action used to store the BindRequest version MessageID.

 BindRequest ::= [APPLICATION 0] SEQUENCE {
     ....
     authentication          AuthenticationChoice }

 AuthenticationChoice ::= CHOICE {
     ...
     sasl                  [3] SaslCredentials }
     ...

 We have to create an Authentication Object to store the credentials.
 

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.api.asn1.ber.grammar.GrammarAction
name
 
Constructor Summary
InitSaslBind()
          Instantiates a new action.
 
Method Summary
 void action(LdapMessageContainer<BindRequestDecorator> container)
          The action to be executed.
 
Methods inherited from class org.apache.directory.api.asn1.ber.grammar.GrammarAction
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitSaslBind

public InitSaslBind()
Instantiates a new action.

Method Detail

action

public void action(LdapMessageContainer<BindRequestDecorator> container)
            throws DecoderException
The action to be executed.

Parameters:
container - The container which stores the current data
Throws:
DecoderException - Thrown if something went wrong.


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.