- <init>
Default constructor. The configuration is done outside, in
XWikiAuthServiceImpl#getAuthenticator(com
- addCookie
Adds a cookie to the response.
- checkValidation
Checks if the cookies are valid.
- decryptText
Decrypt a string.
- encryptText
Encrypt a string. The encryption is password-based. The password can be
configured using the xwiki.a
- forgetLogin
Forget a login by removing the authentication cookies.
- getClientIP
Returns the original client IP. Needed because request.getRemoteAddr returns the
address of the last
- getCookie
Given an array of cookies and a name, this method tries to find and return the
cookie from the array
- getCookiePrefix
Getter for the #cookiePrefix parameter.
- getCookieValue
Given an array of Cookies, a name, and a default value, this method tries to
find the value of the c
- getValidationHash
Get validation hash for the specified parameters. The hash includes a secret
password, and optionall
- isTrue
Check if a text is supposed to be an affirmative value ("true", "yes" or "1").