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 String
addAuthenticationKey(String providedKey, String principal, String purpose, int expirationMinutes)
Deprecated.User
isLogged()
Deprecated.simply check if current user has an http session opened with authz passed and return user dataUser
logIn(LoginRequest loginRequest)
Deprecated.check username/password and create a http session.ActionStatus
logout()
Deprecated.clear user http sessionBoolean
ping()
Deprecated.Boolean
pingWithAutz()
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 RedbackServiceException
Deprecated.- Throws:
RedbackServiceException
-
ping
@Path("ping") @GET @Produces({"application/json","application/xml","text/plain"}) Boolean ping() throws RedbackServiceException
Deprecated.- Throws:
RedbackServiceException
-
pingWithAutz
@Path("pingWithAutz") @GET @Produces({"application/json","application/xml","text/plain"}) Boolean pingWithAutz() throws RedbackServiceException
Deprecated.- Throws:
RedbackServiceException
-
logIn
@Path("logIn") @POST @Produces({"application/json","application/xml","text/plain"}) User logIn(LoginRequest loginRequest) throws RedbackServiceException
Deprecated.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 RedbackServiceException
Deprecated.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 RedbackServiceException
Deprecated.clear user http session- Throws:
RedbackServiceException
- Since:
- 1.4
-
-