Skip to content

Commit d6afcea

Browse files
author
Chris Schmidt
committed
Updated Authenticator API
1 parent de75baf commit d6afcea

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/org/owasp/esapi/core/authentication/Authenticator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
import org.owasp.esapi.core.SecurityComponent;
44

5+
import java.security.Principal;
6+
57
/**
68
* The Authenticator interface defines a set of methods for generating and
79
* handling account credentials and session identifiers. The goal of this
@@ -16,5 +18,5 @@
1618
* @since June 1, 2007
1719
*/
1820
public interface Authenticator extends SecurityComponent {
19-
21+
<Auth extends Authentication, Cred extends Credential> Auth authenticate(Principal principal, Cred credential);
2022
}

0 commit comments

Comments
 (0)