Interface LoginService
-
- All Known Implementing Classes:
DefaultLoginService
@Deprecated @Path("/loginService/") public interface LoginService
Deprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringaddAuthenticationKey(String providedKey, String principal, String purpose, int expirationMinutes)Deprecated.UserisLogged()Deprecated.simply check if current user has an http session opened with authz passed and return user dataUserlogIn(LoginRequest loginRequest)Deprecated.check username/password and create a http session.ActionStatuslogout()Deprecated.clear user http sessionBooleanping()Deprecated.BooleanpingWithAutz()Deprecated.
-
-
-
Method Detail
-
addAuthenticationKey
@Path("addAuthenticationKey") @GET @Produces({"application/json","application/xml","text/plain"}) String addAuthenticationKey(@QueryParam("providerKey") String providedKey, @QueryParam("principal") String principal, @QueryParam("purpose") String purpose, @QueryParam("expirationMinutes") int expirationMinutes) throws RedbackServiceExceptionDeprecated.- Throws:
RedbackServiceException
-
ping
@Path("ping") @GET @Produces({"application/json","application/xml","text/plain"}) Boolean ping() throws RedbackServiceExceptionDeprecated.- Throws:
RedbackServiceException
-
pingWithAutz
@Path("pingWithAutz") @GET @Produces({"application/json","application/xml","text/plain"}) Boolean pingWithAutz() throws RedbackServiceExceptionDeprecated.- Throws:
RedbackServiceException
-
logIn
@Path("logIn") @POST @Produces({"application/json","application/xml","text/plain"}) User logIn(LoginRequest loginRequest) throws RedbackServiceExceptionDeprecated.check username/password and create a http session. So no more need of reuse username/password for all ajaxRequest- Throws:
RedbackServiceException
-
isLogged
@Path("isLogged") @GET @Produces({"application/json","application/xml"}) User isLogged() throws RedbackServiceExceptionDeprecated.simply check if current user has an http session opened with authz passed and return user data- Throws:
RedbackServiceException- Since:
- 1.4
-
logout
@Path("logout") @GET @Produces({"application/json","application/xml","text/plain"}) ActionStatus logout() throws RedbackServiceExceptionDeprecated.clear user http session- Throws:
RedbackServiceException- Since:
- 1.4
-
-