Name

GenericCredential

Synopsis

This interface represents a general interface for credentials associated with a principal interacting with an EIS resource. This interface is not specific to any particular security mechanism, and a concrete implementation would be provided by the resource adapter provider.

public interface GenericCredential {
// Public Instance Methods
   public abstract boolean equals( Object another);  
   public abstract byte[] getCredentialData(
        ) throws javax.resource.spi.SecurityException;  
   public abstract String getMechType();  
   public abstract String getName();  
   public abstract int hashCode();  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.