@Override public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options) { this.subject = subject; this.handler = callbackHandler; config = new LDAPLoginProperty [] { new LDAPLoginProperty (INITIAL_CONTEXT_FACTORY, (String)options.get(INITIAL_CONTEXT_FACTORY)), new LDAPLoginProperty (CONNECTION_URL, (String)options.get(CONNECTION_URL)), new LDAPLoginProperty (CONNECTION_USERNAME, (String)options.get(CONNECTION_USERNAME)), new LDAPLoginProperty (CONNECTION_PASSWORD, (String)options.get(CONNECTION_PASSWORD)), new LDAPLoginProperty (CONNECTION_PROTOCOL, (String)options.get(CONNECTION_PROTOCOL)), new LDAPLoginProperty (AUTHENTICATION, (String)options.get(AUTHENTICATION)), new LDAPLoginProperty (USER_BASE, (String)options.get(USER_BASE)), new LDAPLoginProperty (USER_SEARCH_MATCHING, (String)options.get(USER_SEARCH_MATCHING)), new LDAPLoginProperty (USER_SEARCH_SUBTREE, (String)options.get(USER_SEARCH_SUBTREE)), new LDAPLoginProperty (ROLE_BASE, (String)options.get(ROLE_BASE)), new LDAPLoginProperty (ROLE_NAME, (String)options.get(ROLE_NAME)), new LDAPLoginProperty (ROLE_SEARCH_MATCHING, (String)options.get(ROLE_SEARCH_MATCHING)), new LDAPLoginProperty (ROLE_SEARCH_SUBTREE, (String)options.get(ROLE_SEARCH_SUBTREE)), new LDAPLoginProperty (USER_ROLE_NAME, (String)options.get(USER_ROLE_NAME)), new LDAPLoginProperty (EXPAND_ROLES, (String) options.get(EXPAND_ROLES)), new LDAPLoginProperty (EXPAND_ROLES_MATCHING, (String) options.get(EXPAND_ROLES_MATCHING)), }; }
@Override public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options) { this.subject = subject; this.handler = callbackHandler; config = new LDAPLoginProperty [] { new LDAPLoginProperty (INITIAL_CONTEXT_FACTORY, (String)options.get(INITIAL_CONTEXT_FACTORY)), new LDAPLoginProperty (CONNECTION_URL, (String)options.get(CONNECTION_URL)), new LDAPLoginProperty (CONNECTION_USERNAME, (String)options.get(CONNECTION_USERNAME)), new LDAPLoginProperty (CONNECTION_PASSWORD, (String)options.get(CONNECTION_PASSWORD)), new LDAPLoginProperty (CONNECTION_PROTOCOL, (String)options.get(CONNECTION_PROTOCOL)), new LDAPLoginProperty (AUTHENTICATION, (String)options.get(AUTHENTICATION)), new LDAPLoginProperty (USER_BASE, (String)options.get(USER_BASE)), new LDAPLoginProperty (USER_SEARCH_MATCHING, (String)options.get(USER_SEARCH_MATCHING)), new LDAPLoginProperty (USER_SEARCH_SUBTREE, (String)options.get(USER_SEARCH_SUBTREE)), new LDAPLoginProperty (ROLE_BASE, (String)options.get(ROLE_BASE)), new LDAPLoginProperty (ROLE_NAME, (String)options.get(ROLE_NAME)), new LDAPLoginProperty (ROLE_SEARCH_MATCHING, (String)options.get(ROLE_SEARCH_MATCHING)), new LDAPLoginProperty (ROLE_SEARCH_SUBTREE, (String)options.get(ROLE_SEARCH_SUBTREE)), new LDAPLoginProperty (USER_ROLE_NAME, (String)options.get(USER_ROLE_NAME)), new LDAPLoginProperty (EXPAND_ROLES, (String) options.get(EXPAND_ROLES)), new LDAPLoginProperty (EXPAND_ROLES_MATCHING, (String) options.get(EXPAND_ROLES_MATCHING)), }; }
@Override public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options) { this.subject = subject; this.handler = callbackHandler; config = new LDAPLoginProperty [] { new LDAPLoginProperty (INITIAL_CONTEXT_FACTORY, (String)options.get(INITIAL_CONTEXT_FACTORY)), new LDAPLoginProperty (CONNECTION_URL, (String)options.get(CONNECTION_URL)), new LDAPLoginProperty (CONNECTION_USERNAME, (String)options.get(CONNECTION_USERNAME)), new LDAPLoginProperty (CONNECTION_PASSWORD, (String)options.get(CONNECTION_PASSWORD)), new LDAPLoginProperty (CONNECTION_PROTOCOL, (String)options.get(CONNECTION_PROTOCOL)), new LDAPLoginProperty (AUTHENTICATION, (String)options.get(AUTHENTICATION)), new LDAPLoginProperty (USER_BASE, (String)options.get(USER_BASE)), new LDAPLoginProperty (USER_SEARCH_MATCHING, (String)options.get(USER_SEARCH_MATCHING)), new LDAPLoginProperty (USER_SEARCH_SUBTREE, (String)options.get(USER_SEARCH_SUBTREE)), new LDAPLoginProperty (ROLE_BASE, (String)options.get(ROLE_BASE)), new LDAPLoginProperty (ROLE_NAME, (String)options.get(ROLE_NAME)), new LDAPLoginProperty (ROLE_SEARCH_MATCHING, (String)options.get(ROLE_SEARCH_MATCHING)), new LDAPLoginProperty (ROLE_SEARCH_SUBTREE, (String)options.get(ROLE_SEARCH_SUBTREE)), new LDAPLoginProperty (USER_ROLE_NAME, (String)options.get(USER_ROLE_NAME)), new LDAPLoginProperty (EXPAND_ROLES, (String) options.get(EXPAND_ROLES)), new LDAPLoginProperty (EXPAND_ROLES_MATCHING, (String) options.get(EXPAND_ROLES_MATCHING)), }; }