org.exoplatform.services.security.sso.spnego.message
Class NegResult

java.lang.Object
  extended by org.exoplatform.services.security.sso.spnego.message.AbstractMessagePart
      extended by org.exoplatform.services.security.sso.spnego.message.NegResult
All Implemented Interfaces:
MessagePart

public class NegResult
extends AbstractMessagePart

Author:
Martin Algesten

Field Summary
static int ACCEPT_COMPLETED
           
static int ACCEPT_INCOMPLETE
           
static int REJECTED
           
 
Fields inherited from interface org.exoplatform.services.security.sso.spnego.message.MessagePart
TYPE_APPLICATION_CONSTRUCTED_OBJECT, TYPE_BIT_STRING, TYPE_ENUMERATED, TYPE_NEG_TOKEN_INIT, TYPE_NEG_TOKEN_TARG, TYPE_OCTET_STRING, TYPE_OID, TYPE_SEQUENCE
 
Constructor Summary
NegResult()
          Constructs new instance of NegResult.
NegResult(int result)
          Constructs new instance of NegResult with specified result.
 
Method Summary
 int getDerType()
          
 int getResult()
           
 void parse(ParseState state)
          
 void setResult(int result)
           
 int[] toDer()
          
 
Methods inherited from class org.exoplatform.services.security.sso.spnego.message.AbstractMessagePart
arraycopy, arraycopy, calculateDerLength, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACCEPT_COMPLETED

public static final int ACCEPT_COMPLETED
See Also:
Constant Field Values

ACCEPT_INCOMPLETE

public static final int ACCEPT_INCOMPLETE
See Also:
Constant Field Values

REJECTED

public static final int REJECTED
See Also:
Constant Field Values
Constructor Detail

NegResult

public NegResult()
Constructs new instance of NegResult.


NegResult

public NegResult(int result)
Constructs new instance of NegResult with specified result.

Parameters:
result - the result.
Method Detail

getDerType

public int getDerType()


toDer

public int[] toDer()


parse

public void parse(ParseState state)


getResult

public int getResult()
Returns:
result.

setResult

public void setResult(int result)
Parameters:
result - the result.


Copyright © 2009 eXo Platform SAS. All Rights Reserved.