00001 00027 package org.objectweb.jonas_rar.deployment.api; 00028 00029 import java.io.Serializable; 00030 import java.util.List; 00031 00032 import org.objectweb.jonas_rar.deployment.xml.AuthenticationMechanism; 00033 00040 public class AuthenticationMechanismDesc implements Serializable { 00041 00045 private List descriptionList = null; 00046 00050 private String authenticationMechanismType = null; 00051 00055 private String credentialInterface = null; 00056 00057 00061 public AuthenticationMechanismDesc(AuthenticationMechanism am) { 00062 if (am != null) { 00063 descriptionList = am.getDescriptionList(); 00064 authenticationMechanismType = am.getAuthenticationMechanismType(); 00065 credentialInterface = am.getCredentialInterface(); 00066 } 00067 } 00068 00073 public List getDescriptionList() { 00074 return descriptionList; 00075 } 00076 00081 public String getAuthenticationMechanismType() { 00082 return authenticationMechanismType; 00083 } 00084 00089 public String getCredentialInterface() { 00090 return credentialInterface; 00091 } 00092 00093 }