/** * Set the JAAS Login Configuration Name and Call back handler * @param configName can be null * @param cbh can be null */ public void setJAAS(String configName, CallbackHandler cbh) { this.loginConfigName = configName; this.callbackHandler = cbh; clearUpDesires(); this.jaasDesired = true; }
/** * Return a security client of type * @param client FQN of the security client implementation * @return * @throws Exception */ public static SecurityClient getSecurityClient(String client) throws Exception { return getSC(client); }
/** * Log Out */ public void logout() { setSimple(null,null); setJAAS(null,null); setSASL(null,null,null); clearUpDesires(); cleanUp(); }
/** * Login with the desired method * @throws LoginException */ public void login() throws LoginException { if(jaasDesired) performJAASLogin(); else if(saslDesired) peformSASLLogin(); else performSimpleLogin(); }
/** * Log Out */ public void logout() { setSimple(null,null); setJAAS(null,null); setSASL(null,null,null); clearUpDesires(); cleanUp(); }
/** * Login with the desired method * @throws LoginException */ public void login() throws LoginException { if(jaasDesired) performJAASLogin(); else if(saslDesired) peformSASLLogin(); else performSimpleLogin(); }
/** * Return a security client of type * @param client FQN of the security client implementation * @return * @throws Exception */ public static SecurityClient getSecurityClient(String client) throws Exception { return getSC(client); }
/** * Set the JAAS Login Configuration Name and Call back handler * @param configName can be null * @param cbh can be null */ public void setJAAS(String configName, CallbackHandler cbh) { this.loginConfigName = configName; this.callbackHandler = cbh; clearUpDesires(); this.jaasDesired = true; }
/** * Log Out */ public void logout() { setSimple(null,null); setJAAS(null,null); setSASL(null,null,null); clearUpDesires(); cleanUp(); }
/** * Return a security client of type * @param client FQN of the security client implementation * @return * @throws Exception */ public static SecurityClient getSecurityClient(String client) throws Exception { return getSC(client); }
/** * Set the JAAS Login Configuration Name and Call back handler * @param configName can be null * @param cbh can be null */ public void setJAAS(String configName, CallbackHandler cbh) { this.loginConfigName = configName; this.callbackHandler = cbh; clearUpDesires(); this.jaasDesired = true; }
/** * Return the default Security Client * The default Security Client is of type * "org.jboss.security.client.JBossSecurityClient" * @return * @throws Exception */ public static SecurityClient getSecurityClient() throws Exception { return getSC(defaultClient); }
/** * Set the JAAS Login Configuration Name and Call back handler * @param configName can be null * @param cbh can be null */ public void setJAAS(String configName, CallbackHandler cbh) { this.loginConfigName = configName; this.callbackHandler = cbh; clearUpDesires(); this.jaasDesired = true; }
/** * Return the default Security Client * The default Security Client is of type * "org.jboss.security.client.JBossSecurityClient" * @return * @throws Exception */ public static SecurityClient getSecurityClient() throws Exception { return getSC(defaultClient); }
/** * Set the mechanism and other parameters for SASL Client * @param mechanism * @param authorizationId * @param cbh */ public void setSASL(String mechanism, String authorizationId, CallbackHandler cbh) { this.saslMechanism = mechanism; this.saslAuthorizationId = authorizationId; this.callbackHandler = cbh; clearUpDesires(); this.saslDesired = true; }
/** * Return the default Security Client * The default Security Client is of type * "org.jboss.security.client.JBossSecurityClient" * @return * @throws Exception */ public static SecurityClient getSecurityClient() throws Exception { return getSC(defaultClient); }
/** * Set the mechanism and other parameters for SASL Client * @param mechanism * @param authorizationId * @param cbh */ public void setSASL(String mechanism, String authorizationId, CallbackHandler cbh) { this.saslMechanism = mechanism; this.saslAuthorizationId = authorizationId; this.callbackHandler = cbh; clearUpDesires(); this.saslDesired = true; }
/** * Return the default Security Client * The default Security Client is of type * "org.jboss.security.client.JBossSecurityClient" * @return * @throws Exception */ public static SecurityClient getSecurityClient() throws Exception { return getSC(defaultClient); }
/** * Return a security client of type * @param client FQN of the security client implementation * @return * @throws Exception */ public static SecurityClient getSecurityClient(String client) throws Exception { return getSC(client); }