public class DummySecuritySource extends SecuritySource
Constructor and Description |
---|
DummySecuritySource(DummySecuritySourceConfig config) |
Modifier and Type | Method and Description |
---|---|
AuthenticationResult |
authenticate(java.lang.String login,
java.lang.String password,
boolean needPassword)
Authenticates a user and returns authorizations.
|
void |
reset()
Restore the security source to its initial state.
|
authenticate, getGroups, getGroupToken, getInfo, getUsers, getUserToken, init
public DummySecuritySource(DummySecuritySourceConfig config)
public void reset()
SecuritySource
reset
in class SecuritySource
public AuthenticationResult authenticate(java.lang.String login, java.lang.String password, boolean needPassword) throws SecurityException
authenticate
in class SecuritySource
login
- the user loginpassword
- the user passwordneedPassword
- if the user password should be checkedSecurityException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.