org.apache.geronimo.corba.security.config.css
Class CSSGSSUPMechConfigDynamic

java.lang.Object
  extended by org.apache.geronimo.corba.security.config.css.CSSGSSUPMechConfigDynamic
All Implemented Interfaces:
Serializable, CSSASMechConfig

public class CSSGSSUPMechConfigDynamic
extends Object
implements CSSASMechConfig

This GSSUP mechanism obtains its username and password from a named username password credential that is stored in the subject associated w/ the call stack.

See Also:
Serialized Form

Constructor Summary
CSSGSSUPMechConfigDynamic(String domain)
           
 
Method Summary
 boolean canHandle(TSSASMechConfig asMech)
           
 byte[] encode()
          Encode the client authentication token
 short getRequires()
           
 short getSupports()
           
 String toString()
           
 void toString(String spaces, StringBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSSGSSUPMechConfigDynamic

public CSSGSSUPMechConfigDynamic(String domain)
Method Detail

getSupports

public short getSupports()
Specified by:
getSupports in interface CSSASMechConfig

getRequires

public short getRequires()
Specified by:
getRequires in interface CSSASMechConfig

canHandle

public boolean canHandle(TSSASMechConfig asMech)
Specified by:
canHandle in interface CSSASMechConfig

encode

public byte[] encode()
Description copied from interface: CSSASMechConfig
Encode the client authentication token

Specified by:
encode in interface CSSASMechConfig
Returns:
the encoded client authentication token

toString

public String toString()
Overrides:
toString in class Object

toString

public void toString(String spaces,
                     StringBuffer buf)
Specified by:
toString in interface CSSASMechConfig


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.