Package net.bluemind.authentication.api
Interface IAuthentication
- All Known Subinterfaces:
 IInCoreAuthentication
@Path("/auth")
public interface IAuthentication
Authentication service
- 
Method Summary
Modifier and TypeMethodDescriptionTry to log in user into Blue-Mind and create valid session on successloginWithParams(String login, String password, String origin, Boolean interactive) Try to log in user into Blue-Mind and create valid session on successvoidlogout()Close a Blue-Mind sessionvoidping()Refreshes the session, or throws exception if the SecurityContext is invalid.Create Blue-Mind access token for requested user.
This token can be used for authenticate against Blue-Mind componentssuWithParams(String login, Boolean interactive) Validate credential 
- 
Method Details
- 
login
@POST @Path("login") LoginResponse login(@QueryParam("login") String login, String password, @QueryParam("origin") String origin) throws ServerFault Try to log in user into Blue-Mind and create valid session on success- Parameters:
 password- user passwordorigin- Blue Mind application from which user try to log inuser- user login- Returns:
 LoginResponse- Throws:
 ServerFault
 - 
loginWithParams
@POST @Path("loginWithParams") LoginResponse loginWithParams(@QueryParam("login") String login, String password, @QueryParam("origin") String origin, @QueryParam("interactive") Boolean interactive) throws ServerFault Try to log in user into Blue-Mind and create valid session on success- Parameters:
 password- user passwordorigin- Blue Mind application from which user try to log ininteractive- interactiveuser- user login- Returns:
 LoginResponse- Throws:
 ServerFault
 - 
validate
@POST @Path("validate") ValidationKind validate(@QueryParam("login") String login, String password, @QueryParam("origin") String origin) throws ServerFault Validate credential- Parameters:
 password- user passwordorigin- Blue Mind application from which user try to log inuser- user login- Returns:
 LoginResponse- Throws:
 ServerFault
 - 
ping
Refreshes the session, or throws exception if the SecurityContext is invalid.- Throws:
 ServerFault
 - 
logout
Close a Blue-Mind session- Throws:
 ServerFault
 - 
su
Create Blue-Mind access token for requested user.
This token can be used for authenticate against Blue-Mind componentsOnly token from global domain are allowed to do this.
- Parameters:
 login- requested login@domain access token- Returns:
 LoginResponse- Throws:
 ServerFault
 - 
suWithParams
@POST @Path("_suWithParams") LoginResponse suWithParams(@QueryParam("login") String login, @QueryParam("interactive") Boolean interactive) throws ServerFault - Throws:
 ServerFault
 - 
getCurrentUser
- Throws:
 ServerFault
 
 -