1 20 21 package org.apache.directory.ldapstudio.browser.core.internal.model; 22 23 24 import org.apache.directory.ldapstudio.browser.core.model.ConnectionParameter; 25 import org.apache.directory.ldapstudio.browser.core.model.ICredentials; 26 27 28 34 public class Credentials implements ICredentials 35 { 36 37 38 private String bindPrincipal; 39 40 41 private String bindPassword; 42 43 44 private ConnectionParameter connectionParameter; 45 46 47 54 public Credentials( String bindPrincipal, String bindPassword, ConnectionParameter connectionParameter ) 55 { 56 this.bindPrincipal = bindPrincipal; 57 this.bindPassword = bindPassword; 58 this.connectionParameter = connectionParameter; 59 } 60 61 62 65 public ConnectionParameter getConnectionParameter() 66 { 67 return connectionParameter; 68 } 69 70 71 74 public String getBindPrincipal() 75 { 76 return bindPrincipal; 77 } 78 79 80 83 public String getBindPassword() 84 { 85 return bindPassword; 86 } 87 88 } 89 | Popular Tags |