public interface SecurityClient
Modifier and Type | Method and Description |
---|---|
com.exalead.security.sources.common.AuthenticationResult |
authenticate(java.lang.String securitySource,
java.lang.String login,
java.lang.String password,
boolean checkPassword)
Retrieve security tokens for a user on a given security source.
|
com.exalead.security.sources.common.AuthenticationResult |
authenticate(java.lang.String securitySource,
java.lang.String login,
java.lang.String password,
boolean checkPassword,
java.util.List<KeyValue> optParams)
Retrieve security tokens for a user on a given security source.
|
com.exalead.security.sources.common.CustomSecurityCommandAnswer |
customCommand(com.exalead.security.sources.common.CustomSecurityCommand command)
Execute a custom command on a security source that have an IntrospectableComponent annotation
|
java.util.List<KeyValue> |
getInfo(java.lang.String securitySource,
java.util.List<KeyValue> kv)
Custom method, its behavior depends of the implementation of the security source.
|
void |
reset(java.lang.String securitySource)
Restore the security source to its initial state.
|
com.exalead.security.sources.common.AuthenticationResult authenticate(java.lang.String securitySource, java.lang.String login, java.lang.String password, boolean checkPassword) throws com.exalead.security.sources.common.SecurityException
securitySource
- name of the security source on which the request will be performedlogin
- login of the user to authenticatepassword
- password of the user. Only needed if checkPassword is truecheckPassword
- determines if the password is required for the authenticationcom.exalead.security.sources.common.SecurityException
com.exalead.security.sources.common.AuthenticationResult authenticate(java.lang.String securitySource, java.lang.String login, java.lang.String password, boolean checkPassword, java.util.List<KeyValue> optParams) throws com.exalead.security.sources.common.SecurityException
securitySource
- name of the security source on which the request will be performedlogin
- login of the user to authenticatepassword
- password of the user. Only needed if checkPassword is truecheckPassword
- determines if the password is required for the authenticationoptParams
- additional parameterscom.exalead.security.sources.common.SecurityException
java.util.List<KeyValue> getInfo(java.lang.String securitySource, java.util.List<KeyValue> kv) throws com.exalead.security.sources.common.SecurityException
securitySource
- name of the security source on which the request will be performedkv
- list of KeyValue which can contain any informationcom.exalead.security.sources.common.SecurityException
void reset(java.lang.String securitySource) throws com.exalead.security.sources.common.SecurityException
securitySource
- name of the security source on which the request will be performedcom.exalead.security.sources.common.SecurityException
com.exalead.security.sources.common.CustomSecurityCommandAnswer customCommand(com.exalead.security.sources.common.CustomSecurityCommand command) throws com.exalead.security.sources.common.SecurityException
command
- definition of the command to executecom.exalead.security.sources.common.SecurityException
IntrospectableComponent
Copyright © 2021 Dassault Systèmes, All Rights Reserved.