public class AuthenticationHolder
extends java.lang.Object
Constructor and Description |
---|
AuthenticationHolder() |
Modifier and Type | Method and Description |
---|---|
static AuthenticationData |
getAuthentication()
Access the Authentication available for this thread.
|
static Partner |
getRequestingPartner()
Returns the requestor's Partner object.
|
static java.lang.String |
getRequestingPartnerRef()
Returns the requestor's Partner object.
|
static boolean |
isAuthenticated()
Returns whether there is an authenticated user on this thread.
|
static void |
revokeAuthentication()
Revoke the Authentication for this thread.
|
static void |
setAuthentication(AuthenticationData authentication)
Set the Authentication available for this thread.
|
public static void setAuthentication(AuthenticationData authentication)
authentication
- the Authentication to set.public static AuthenticationData getAuthentication()
public static boolean isAuthenticated()
public static void revokeAuthentication()
public static Partner getRequestingPartner()
public static java.lang.String getRequestingPartnerRef()