mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
javadoc for Tokens class
This commit is contained in:
@@ -35,12 +35,14 @@ package sonia.scm.security;
|
||||
|
||||
import org.apache.shiro.authc.AuthenticationToken;
|
||||
import org.apache.shiro.authc.UsernamePasswordToken;
|
||||
import org.apache.shiro.subject.Subject;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* Create tokens for security reasons.
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
* @since 1.21
|
||||
@@ -49,12 +51,13 @@ public final class Tokens
|
||||
{
|
||||
|
||||
/**
|
||||
* Method description
|
||||
* Build an {@link AuthenticationToken} for use with
|
||||
* {@link Subject#login(org.apache.shiro.authc.AuthenticationToken)}.
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @param username
|
||||
* @param password
|
||||
* @param request servlet request
|
||||
* @param username username of the user to authenticate
|
||||
* @param password password of the user to authenticate
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user