org.ops4j.pax.wicket.api
Interface PaxWicketAuthenticator

All Known Implementing Classes:
UserAdminAuthenticator

public interface PaxWicketAuthenticator

PaxWicketAuthenticator provides an interface to authenticate users with its password.

Since:
1.0.0
See Also:
UserAdminAuthenticator

Method Summary
 org.apache.wicket.authorization.strategies.role.Roles authenticate(java.lang.String username, java.lang.String password)
          Authenticate the specified userName with the specified password.
 

Method Detail

authenticate

org.apache.wicket.authorization.strategies.role.Roles authenticate(java.lang.String username,
                                                                   java.lang.String password)
Authenticate the specified userName with the specified password. Returns null if the specified userName is not authenticate.

Parameters:
username - The username to authenticate.
password - The password to authenticate.
Returns:
An instance of Roles if the arguments can be authenticated, null otherwise.
Since:
1.0.0


Copyright © 2008. All Rights Reserved.