Exemplo n.º 1
0
 public Oid getMech() throws GSSException {
   if (mechCtxt != null) {
     return mechCtxt.getMech();
   }
   return mechOid;
 }
Exemplo n.º 2
0
 /**
  * Creates a GSSContextImpl out of a previously exported GSSContext.
  *
  * @see #isTransferable
  */
 public GSSContextImpl(GSSManagerImpl gssManager, byte[] interProcessToken) throws GSSException {
   this.gssManager = gssManager;
   mechCtxt = gssManager.getMechanismContext(interProcessToken);
   initiator = mechCtxt.isInitiator();
   this.mechOid = mechCtxt.getMech();
 }