javax.resource.spi.security
Interface GenericCredential


Deprecated. Use org.ietf.jgss.GSSCredential

public interface GenericCredential

The interface GenericCredential defines a method of representing a security credential for a resource which is independent of the security mechanism. It can be used to wrap any type of underlying credentials, for example it could be used to wrap Kerberos credentials. This allows the resource adapter to utilize the credentials for sign-on to the EIS.


Method Summary
 boolean equals(java.lang.Object other)
          Deprecated. Use org.ietf.jgss.GSSCredential
 byte[] getCredentialData()
          Deprecated. Use org.ietf.jgss.GSSCredential
 java.lang.String getMechType()
          Deprecated. Use org.ietf.jgss.GSSCredential
 java.lang.String getName()
          Deprecated. Use org.ietf.jgss.GSSCredential
 int hashCode()
          Deprecated. Use org.ietf.jgss.GSSCredential
 

Method Detail

getCredentialData

public byte[] getCredentialData()
                         throws SecurityException (src) 
Deprecated. Use org.ietf.jgss.GSSCredential

Gets security data from the credential.

Returns:
Credential data
Throws:
SecurityException (src)

getMechType

public java.lang.String getMechType()
Deprecated. Use org.ietf.jgss.GSSCredential

Returns the mechanism type for the credential

Returns:
Mechanism Type

getName

public java.lang.String getName()
Deprecated. Use org.ietf.jgss.GSSCredential

Returns the name of the principal associated with the credential

Returns:
Principal name

equals

public boolean equals(java.lang.Object other)
Deprecated. Use org.ietf.jgss.GSSCredential

Tests object for equality


hashCode

public int hashCode()
Deprecated. Use org.ietf.jgss.GSSCredential

Generates a hashCode for this object