1 23 24 package javax.resource.spi.security; 25 26 import java.security.Principal ; import javax.resource.spi.SecurityException ; 28 29 64 65 public interface GenericCredential { 66 67 72 public 73 String getName(); 74 75 84 public 85 String getMechType(); 86 87 102 public 103 byte[] getCredentialData() throws SecurityException ; 104 105 112 public 113 boolean equals(Object another); 114 115 119 public 120 int hashCode(); 121 122 } 123 | Popular Tags |