[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security/authenticator ...
Shane Bryzak
Shane_Bryzak at symantec.com
Sun Jul 30 20:51:42 EDT 2006
User: sbryzak2
Date: 06/07/30 20:51:42
Added: src/main/org/jboss/seam/security/authenticator
Authenticator.java ProviderAuthenticator.java
Log:
Reimplementation of Authenticator interface
Revision Changes Path
1.4 +5 -11 jboss-seam/src/main/org/jboss/seam/security/authenticator/Authenticator.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Authenticator.java
===================================================================
RCS file: Authenticator.java
diff -N Authenticator.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Authenticator.java 31 Jul 2006 00:51:42 -0000 1.4
@@ -0,0 +1,15 @@
+package org.jboss.seam.security.authenticator;
+
+import org.jboss.seam.security.Authentication;
+import org.jboss.seam.security.AuthenticationException;
+
+/**
+ * Authenticates an Authentication.
+ *
+ * @author Shane Bryzak
+ */
+public interface Authenticator
+{
+ Authentication authenticate(Authentication authentication)
+ throws AuthenticationException;
+}
1.1 date: 2006/07/31 00:51:42; author: sbryzak2; state: Exp;jboss-seam/src/main/org/jboss/seam/security/authenticator/ProviderAuthenticator.java
Index: ProviderAuthenticator.java
===================================================================
package org.jboss.seam.security.authenticator;
import org.jboss.seam.security.Authentication;
import org.jboss.seam.security.AuthenticationException;
/**
* <p> </p>
*
* @author Shane Bryzak
*/
public class ProviderAuthenticator implements Authenticator
{
public Authentication authenticate(Authentication authentication)
throws AuthenticationException
{
return authentication;
}
}
More information about the jboss-cvs-commits
mailing list