|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.security.DefaultLoginProvider
public class DefaultLoginProvider
Default implementation of WebServiceLoginProvider. This implementation uses the user name and password encoded as the authentication token and delegates the authentication to the security provider that is configured in the Enterprise Manager.
| Constructor Summary | |
|---|---|
DefaultLoginProvider()
Creates a new instance of DefaultLoginProvider. |
|
| Method Summary | |
|---|---|
Principal |
authenticate(String authenticationToken,
String address)
Authenticates a remote client. |
String |
getAuthenticationToken(String userName,
String password)
Gets the token that is passed from the client to the server for authentication. |
boolean |
isCredentialsRequired()
Gets the flag that determines if the user is required to supply their user name and password. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLoginProvider()
| Method Detail |
|---|
public boolean isCredentialsRequired()
isCredentialsRequired in interface WebServiceLoginProvider
public String getAuthenticationToken(String userName,
String password)
getAuthenticationToken in interface WebServiceLoginProvideruserName - the user name of the client. This value may be
null if WebServiceLoginProvider.isCredentialsRequired() returns
false.password - the password of the client. This value may be
null if WebServiceLoginProvider.isCredentialsRequired() returns
false.
public Principal authenticate(String authenticationToken,
String address)
authenticate in interface WebServiceLoginProviderauthenticationToken - the token provided by the client for
authentication.address - the address of the remote client.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||