com.atlassian.jira.bc.security.login.LoginService |
Known Indirect Subclasses
|
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
The LoginService keeps track of users login activities.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | LOGIN_RESULT | This is set into the the request for the last login result |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This can be called to see if an user knows the given password.
| |||||||||||
This is called to get LoginInfo about a given user.
| |||||||||||
Returns loginProperties needed to render the login gadget or login form.
| |||||||||||
Log out of JIRA
| |||||||||||
This can be called to reset the failed login count of a user
|
This is set into the the request for the last login result
This can be called to see if an user knows the given password. Services such as SOAP and XML-RPC may use this to validate a request.
If the user requests elevatedSecurity then this will always fail with LoginReason.AUTHENTICATION_DENIEDuser | the user to authenticate. This MUST not be null. |
---|---|
password | the password to authenticate against |
This is called to get LoginInfo about a given user.
userName | the name of the user in play. This MUST not be null. |
---|
LoginInfo
object
Returns loginProperties needed to render the login gadget or login form.
remoteUser | the currently logged in user |
---|---|
request | the incoming http request which may contain user credentials |
Log out of JIRA
request | the current servlet request |
---|---|
response | the current servlet response |
This can be called to reset the failed login count of a user
user | the user to authorise. This MUST not be null. |
---|