站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

GenericCredential (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


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

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

Gets security data from the credential.

Returns:
Credential data
Throws:
SecurityException

getMechType

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

Returns the mechanism type for the credential

Returns:
Mechanism Type

getName

public 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(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



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