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(Object other)
          Deprecated. Use org.ietf.jgss.GSSCredential
 byte[] getCredentialData()
          Deprecated. Use org.ietf.jgss.GSSCredential
 String getMechType()
          Deprecated. Use org.ietf.jgss.GSSCredential
 String getName()
          Deprecated. Use org.ietf.jgss.GSSCredential
 int hashCode()
          Deprecated. Use org.ietf.jgss.GSSCredential
 

Method Detail

getCredentialData

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

Gets security data from the credential.

Returns:
Credential data
Throws:
SecurityException

getMechType

String getMechType()
Deprecated. Use org.ietf.jgss.GSSCredential

Returns the mechanism type for the credential

Returns:
Mechanism Type

getName

String getName()
Deprecated. Use org.ietf.jgss.GSSCredential

Returns the name of the principal associated with the credential

Returns:
Principal name

equals

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

Tests object for equality

Overrides:
equals in class Object

hashCode

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

Generates a hashCode for this object

Overrides:
hashCode in class Object


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.