Class GlobalSecurityManagerWebService
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<GlobalSecurityManager>
-
- de.aristaflow.ilm.ws.base.security.GlobalSecurityManagerWebService
-
public class GlobalSecurityManagerWebService extends AbstractSubResourceWebService<GlobalSecurityManager>
- See Also:
GlobalSecurityManager
-
-
Constructor Summary
Constructors Constructor Description GlobalSecurityManagerWebService(GlobalSecurityManager service, AbstractSubResourceWebService<?> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull @Valid ClientSessionDetailsauthenticate(@NotBlank String method, @NotNull AuthenticationData authData)@NotNull @Valid ClientSessionDetailsauthenticate(@NotNull AuthenticationData authData)@NotNull List<@Valid ClientSessionDetails>authenticateCombined(@NotBlank String method, AuthenticationData authData)voidlogoff(@NotNull @Valid SessionToken session)@NotNull List<@Valid QualifiedAgent>preAuthenticate(@NotBlank String method, AuthenticationData authData)@NotNull List<@Valid QualifiedAgent>preAuthenticate(@NotNull AuthenticationData authData)-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService
getLogger, getLogService, getService, getServiceMetaData, getServiceUris, getSessionFactory, shutdown
-
-
-
-
Constructor Detail
-
GlobalSecurityManagerWebService
public GlobalSecurityManagerWebService(GlobalSecurityManager service, AbstractSubResourceWebService<?> parent)
-
-
Method Detail
-
preAuthenticate
@NotNull public @NotNull List<@Valid QualifiedAgent> preAuthenticate(@NotNull @NotNull AuthenticationData authData) throws AuthenticationException, DataSourceException
- Parameters:
authData- Authentication data at least containing a user name and a password.- Throws:
AuthenticationExceptionDataSourceException- See Also:
Authentication.authenticate(String, String)
-
preAuthenticate
@NotNull public @NotNull List<@Valid QualifiedAgent> preAuthenticate(@NotBlank @NotBlank String method, AuthenticationData authData) throws AuthenticationException
- Parameters:
authData- Arbitrary authentication data for callback handlers and optionally a user name.- Throws:
AuthenticationException- See Also:
Authentication.authenticate(String, String, byte[], AFCallbackHandler),Authentication.authenticate(String, byte[], AFCallbackHandler)
-
authenticate
@NotNull @Valid public @NotNull @Valid ClientSessionDetails authenticate(@NotNull @NotNull AuthenticationData authData) throws AuthenticationException, DataSourceException, IOException
- Parameters:
authData- Authentication data at least containing a user name, an org position and a password.- Throws:
AuthenticationExceptionDataSourceExceptionIOException- See Also:
Authentication.authenticate(String, long, String),Authentication.authenticate(String, long, String, String)
-
authenticate
@NotNull @Valid public @NotNull @Valid ClientSessionDetails authenticate(@NotBlank @NotBlank String method, @NotNull @NotNull AuthenticationData authData) throws AuthenticationException, IOException
- Parameters:
authData- Arbitrary authentication data for callback handlers and at least a user name and an org position.- Throws:
AuthenticationExceptionIOException- See Also:
Authentication.authenticate(String, long, String, byte[], AFCallbackHandler),Authentication.authenticate(String, long, String, byte[], AFCallbackHandler, String)
-
authenticateCombined
@NotNull public @NotNull List<@Valid ClientSessionDetails> authenticateCombined(@NotBlank @NotBlank String method, AuthenticationData authData) throws AuthenticationException, IOException
- Parameters:
authData- Arbitrary authentication data for callback handlers and optionally a user name.- Throws:
AuthenticationExceptionIOException- See Also:
Authentication.authenticateCombined(String, String, byte[], AFCallbackHandler),Authentication.authenticateCombined(String, byte[], AFCallbackHandler)
-
logoff
public void logoff(@NotNull @Valid @NotNull @Valid SessionToken session) throws AuthenticationException, ParameterException
-
-