GlobusGSSCredential (Java Globus API)

org.globus.security.gsi.gssapi
Class GlobusGSSCredential

java.lang.Object
  |
  +--org.globus.security.gsi.gssapi.GlobusGSSCredential
All Implemented Interfaces:
java.lang.Cloneable, org.ietf.jgss.GSSCredential

public class GlobusGSSCredential
extends java.lang.Object
implements org.ietf.jgss.GSSCredential


Field Summary
 
Fields inherited from interface org.ietf.jgss.GSSCredential
ACCEPT_ONLY, DEFAULT_LIFETIME, INDEFINITE_LIFETIME, INITIATE_AND_ACCEPT, INITIATE_ONLY
 
Constructor Summary
GlobusGSSCredential(GlobusProxy cred, int usage)
           
 
Method Summary
 void add(org.ietf.jgss.GSSName aName, int initLifetime, int acceptLifetime, org.ietf.jgss.Oid mech, int usage)
           
 void dispose()
           
 GlobusProxy getGlobusCredential()
           
 org.ietf.jgss.Oid[] getMechs()
           
 org.ietf.jgss.GSSName getName()
           
 org.ietf.jgss.GSSName getName(org.ietf.jgss.Oid mechOid)
           
 int getRemainingAcceptLifetime(org.ietf.jgss.Oid mechOid)
           
 int getRemainingInitLifetime(org.ietf.jgss.Oid mechOid)
           
 int getRemainingLifetime()
           
 int getUsage()
           
 int getUsage(org.ietf.jgss.Oid mechOid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ietf.jgss.GSSCredential
equals, hashCode
 

Constructor Detail

GlobusGSSCredential

public GlobusGSSCredential(GlobusProxy cred,
                           int usage)
Method Detail

dispose

public void dispose()
             throws org.ietf.jgss.GSSException
Specified by:
dispose in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

getName

public org.ietf.jgss.GSSName getName()
                              throws org.ietf.jgss.GSSException
Specified by:
getName in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

getName

public org.ietf.jgss.GSSName getName(org.ietf.jgss.Oid mechOid)
                              throws org.ietf.jgss.GSSException
Specified by:
getName in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

add

public void add(org.ietf.jgss.GSSName aName,
                int initLifetime,
                int acceptLifetime,
                org.ietf.jgss.Oid mech,
                int usage)
         throws org.ietf.jgss.GSSException
Specified by:
add in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

getUsage

public int getUsage()
             throws org.ietf.jgss.GSSException
Specified by:
getUsage in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

getUsage

public int getUsage(org.ietf.jgss.Oid mechOid)
             throws org.ietf.jgss.GSSException
Specified by:
getUsage in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

getRemainingLifetime

public int getRemainingLifetime()
                         throws org.ietf.jgss.GSSException
Specified by:
getRemainingLifetime in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

getRemainingInitLifetime

public int getRemainingInitLifetime(org.ietf.jgss.Oid mechOid)
                             throws org.ietf.jgss.GSSException
Specified by:
getRemainingInitLifetime in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

getRemainingAcceptLifetime

public int getRemainingAcceptLifetime(org.ietf.jgss.Oid mechOid)
                               throws org.ietf.jgss.GSSException
Specified by:
getRemainingAcceptLifetime in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

getMechs

public org.ietf.jgss.Oid[] getMechs()
                             throws org.ietf.jgss.GSSException
Specified by:
getMechs in interface org.ietf.jgss.GSSCredential
org.ietf.jgss.GSSException

getGlobusCredential

public GlobusProxy getGlobusCredential()