From a39339674e840c0548662f5a6d0f81f58bd2be02 Mon Sep 17 00:00:00 2001
From: Ray Krueger
* This
* This implementation is backed by a JAAS
@@ -74,7 +74,7 @@ import javax.security.auth.login.LoginException;
* configuration file containing an index matching the {@link
* #setLoginContextName(java.lang.String) loginContextName} property.
*
* For example: If this JaasAuthenticationProvider were configured in a Spring
* WebApplicationContext the xml to set the loginConfiguration could be as
@@ -85,7 +85,7 @@ import javax.security.auth.login.LoginException;
* </property>
*
*
* The loginContextName should coincide with a given index in the loginConfig
* specifed. The loginConfig file used in the JUnit tests appears as the
@@ -103,7 +103,7 @@ import javax.security.auth.login.LoginException;
* </property>
*
*
* When using JAAS login modules as the authentication source, sometimes the LoginContext
@@ -115,7 +115,7 @@ import javax.security.auth.login.LoginException;
* CallbackHandler, control is passed to each {@link
* JaasAuthenticationCallbackHandler} for each Callback passed.
*
* {{@link JaasAuthenticationCallbackHandler}s are passed to the
* JaasAuthenticationProvider through the {@link
@@ -131,7 +131,7 @@ import javax.security.auth.login.LoginException;
* </property>
*
*
* After calling LoginContext.login(), the JaasAuthenticationProvider will
* retrieve the returned Principals from the Subject
@@ -143,7 +143,7 @@ import javax.security.auth.login.LoginException;
* method. The returned role will be applied to the Authorization object as a
* {@link GrantedAuthority}.
*
* AuthorityGranters are configured in spring xml as follows...
* AuthenticationProvider is capable of validating {@link
* net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken}
* requests contain the correct username and password.
*
@@ -156,6 +156,11 @@ import javax.security.auth.login.LoginException;
*
*