|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteAuthenticationManager
Allows remote clients to attempt authentication.
Method Summary | |
---|---|
java.util.Collection<GrantedAuthority> |
attemptAuthentication(java.lang.String username,
java.lang.String password)
Attempts to authenticate the remote client using the presented username and password. |
Method Detail |
---|
java.util.Collection<GrantedAuthority> attemptAuthentication(java.lang.String username, java.lang.String password) throws RemoteAuthenticationException
GrantedAuthority[]
objects will be returned.
In order to maximise remoting protocol compatibility, a design decision was taken to operate with minimal arguments and return only the minimal amount of information required for remote clients to enable/disable relevant user interface commands etc. There is nothing preventing users from implementing their own equivalent package that works with more complex object types.
username
- the username the remote client wishes to authenticate with.password
- the password the remote client wishes to authenticate with.
RemoteAuthenticationException
- if the authentication failed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |