userPassword = jndiPasswordCallback.getPassword();
}
private void getPrinclpalsFromLdap() throws InvalidNameException{
ldapPrincipal = new LdapPrincipal(ldapPrincipalEntryName);
userPrincipal = new UserPrincipal(userID);
if(authzIdentity != null){
extraUserPrincipal = new UserPrincipal(authzIdentity);
}
}