@Path(value="/") public class AuthenticationEndpoint extends Object
Constructor and Description |
---|
AuthenticationEndpoint(ContextPolicyManager policyManager,
SecurityManager securityManager,
SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
login(javax.servlet.http.HttpServletRequest request,
String username,
String password,
String prevurl) |
public AuthenticationEndpoint(ContextPolicyManager policyManager, SecurityManager securityManager, SessionFactory sessionFactory)
@POST public javax.ws.rs.core.Response login(@Context javax.servlet.http.HttpServletRequest request, @FormParam(value="username") String username, @FormParam(value="password") String password, @FormParam(value="prevurl") String prevurl) throws SecurityServiceException
SecurityServiceException
This work is licensed under a Creative Commons Attribution 4.0 International License.