Added correct @author and @version tags, more Javadocs to follow

This commit is contained in:
Ray Krueger 2004-07-19 17:27:28 +00:00
parent 3360e2d51a
commit da7895087b
12 changed files with 37 additions and 32 deletions

View File

@ -5,8 +5,9 @@ import java.security.Principal;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 15, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public interface AuthorityGranter {
public String grant(Principal principal);

View File

@ -2,7 +2,6 @@ package net.sf.acegisecurity.providers.jaas;
import net.sf.acegisecurity.Authentication;
import javax.security.auth.callback.CallbackHandler;
import javax.security.auth.callback.Callback;
import javax.security.auth.callback.UnsupportedCallbackException;
import java.io.IOException;
@ -10,11 +9,13 @@ import java.io.IOException;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 15, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public interface JAASAuthenticationCallbackHandler {
void setAuthentication(Authentication auth);
void handle(Callback callback) throws IOException, UnsupportedCallbackException;
}

View File

@ -7,8 +7,9 @@ import java.security.Principal;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 15, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public class JAASGrantedAuthority extends GrantedAuthorityImpl {

View File

@ -1,7 +1,6 @@
package net.sf.acegisecurity.providers.jaas;
import net.sf.acegisecurity.Authentication;
import net.sf.acegisecurity.providers.jaas.JAASAuthenticationCallbackHandler;
import javax.security.auth.callback.Callback;
import javax.security.auth.callback.NameCallback;
@ -11,8 +10,9 @@ import java.io.IOException;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 15, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public class JAASNameCallbackHandler implements JAASAuthenticationCallbackHandler {

View File

@ -1,7 +1,6 @@
package net.sf.acegisecurity.providers.jaas;
import net.sf.acegisecurity.Authentication;
import net.sf.acegisecurity.providers.jaas.JAASAuthenticationCallbackHandler;
import javax.security.auth.callback.Callback;
import javax.security.auth.callback.PasswordCallback;
@ -11,8 +10,9 @@ import java.io.IOException;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 15, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public class JAASPasswordCallbackHandler implements JAASAuthenticationCallbackHandler {

View File

@ -6,8 +6,9 @@ import org.springframework.context.ApplicationEvent;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 15, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public abstract class JAASAuthenticationEvent extends ApplicationEvent {

View File

@ -1,13 +1,13 @@
package net.sf.acegisecurity.providers.jaas.event;
import net.sf.acegisecurity.Authentication;
import net.sf.acegisecurity.providers.jaas.event.JAASAuthenticationEvent;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 15, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public class JAASAuthenticationFailedEvent extends JAASAuthenticationEvent {

View File

@ -1,13 +1,13 @@
package net.sf.acegisecurity.providers.jaas.event;
import net.sf.acegisecurity.Authentication;
import net.sf.acegisecurity.providers.jaas.event.JAASAuthenticationEvent;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 15, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public class JAASAuthenticationSuccessEvent extends JAASAuthenticationEvent {

View File

@ -14,8 +14,9 @@ import java.util.List;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 16, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public class JAASAuthenticationProviderTests extends TestCase {

View File

@ -1,14 +1,13 @@
package net.sf.acegisecurity.providers.jaas;
import net.sf.acegisecurity.providers.jaas.AuthorityGranter;
import java.security.Principal;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 16, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public class TestAuthorityGranter implements AuthorityGranter {
public String grant(Principal principal) {

View File

@ -1,7 +1,6 @@
package net.sf.acegisecurity.providers.jaas;
import net.sf.acegisecurity.Authentication;
import net.sf.acegisecurity.providers.jaas.JAASAuthenticationCallbackHandler;
import javax.security.auth.callback.Callback;
import javax.security.auth.callback.TextInputCallback;
@ -11,8 +10,9 @@ import java.io.IOException;
/**
* Insert comments here...
* <br>
* User: raykrueger@users.sourceforge.net<br>
* Date: Jul 16, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public class TestCallbackHandler implements JAASAuthenticationCallbackHandler {

View File

@ -10,8 +10,9 @@ import java.util.Map;
/**
* Insert comments here...
* <br>
* @author raykrueger@users.sourceforge.net<br>
* Date: Jul 16, 2004<br>
*
* @author Ray Krueger
* @version $Id$
*/
public class TestLoginModule implements LoginModule {