1 27 package org.objectweb.jonas_rar.deployment.api; 28 29 import java.io.Serializable ; 30 import java.util.List ; 31 32 import org.objectweb.jonas_rar.deployment.xml.AuthenticationMechanism; 33 34 39 40 public class AuthenticationMechanismDesc implements Serializable { 41 42 45 private List descriptionList = null; 46 47 50 private String authenticationMechanismType = null; 51 52 55 private String credentialInterface = null; 56 57 58 61 public AuthenticationMechanismDesc(AuthenticationMechanism am) { 62 if (am != null) { 63 descriptionList = am.getDescriptionList(); 64 authenticationMechanismType = am.getAuthenticationMechanismType(); 65 credentialInterface = am.getCredentialInterface(); 66 } 67 } 68 69 73 public List getDescriptionList() { 74 return descriptionList; 75 } 76 77 81 public String getAuthenticationMechanismType() { 82 return authenticationMechanismType; 83 } 84 85 89 public String getCredentialInterface() { 90 return credentialInterface; 91 } 92 93 } 94 | Popular Tags |