1 22 package org.jboss.resource.metadata; 23 24 30 public class AuthenticationMechanismMetaData extends DescriptionMetaDataContainer 31 { 32 static final long serialVersionUID = 1562443409483033688L; 33 34 35 private String authenticationMechanismType; 36 37 38 private String credentialInterfaceClass; 39 40 45 public String getAuthenticationMechansimType() 46 { 47 return authenticationMechanismType; 48 } 49 50 55 public void setAuthenticationMechansimType(String authenticationMechanismType) 56 { 57 this.authenticationMechanismType = authenticationMechanismType; 58 } 59 60 65 public String getCredentialInterfaceClass() 66 { 67 return credentialInterfaceClass; 68 } 69 70 75 public void setCredentialInterfaceClass(String credentialInterfaceClass) 76 { 77 this.credentialInterfaceClass = credentialInterfaceClass; 78 } 79 80 public String toString() 81 { 82 StringBuffer buffer = new StringBuffer (); 83 buffer.append("AuthenticationMechanismMetaData").append('@'); 84 buffer.append(Integer.toHexString(System.identityHashCode(this))); 85 buffer.append("[authenticationMechanismType=").append(authenticationMechanismType); 86 buffer.append(" credentialInterfaceClass=").append(credentialInterfaceClass); 87 buffer.append(" descriptions=").append(getDescriptions()); 88 buffer.append(']'); 89 return buffer.toString(); 90 } 91 } 92 | Popular Tags |