Class GSSUPToken


  • public class GSSUPToken
    extends Object
    GSSUPToken Represents the on the wire username/password credential on the client side and the server side.
    Author:
    Sekhar Vajjhala, Harpreet Singh
    • Method Detail

      • getClientSideInstance

        public static GSSUPToken getClientSideInstance​(org.omg.CORBA.ORB orb,
                                                       org.omg.IOP.Codec codec,
                                                       PasswordCredential pwdcred,
                                                       com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech)
        Constructs mechanism token from a password credential, called from the client side interceptors
        Parameters:
        orb - the ORB
        codec - the codec for translation
        pwdcred - the Password credential, populated with username/password and the realm name
        Returns:
        GSSUPToken instance of the GSSUPToken class.
        Since:
        1.4
      • getServerSideInstance

        public static GSSUPToken getServerSideInstance​(org.omg.CORBA.ORB orb,
                                                       org.omg.IOP.Codec codec,
                                                       byte[] authtok)
                                                throws SecurityMechanismException
        Creates a GSSUPToken instance on the server side
        Parameters:
        orb - the orb
        codec - the codec
        authok - the authtoken received on the wire.
        Throws:
        SecurityMechanismException - if a name/value pair is not found in the authtok
        Since:
        1.4