public abstract class AuthenticationResultUtils extends Object
Authentication, providing translation to a structure that will be
useful to a Flex client in determining the credentials of an authenticated user.
When this helper is used to convert the Authentication into a BlazeDS message, the body of the returned
message will contain the following properties as obtained from the Authentication object:
GrantedAuthority.getAuthority())| Constructor and Description |
|---|
AuthenticationResultUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
getAuthenticationResult()
Checks for an
Authentication object in the current SecurityContext and if one is found, constructs and returns
a map that will result in an object of the expected format when returned to the Flex client. |
public static Map<String,Object> getAuthenticationResult()
Authentication object in the current SecurityContext and if one is found, constructs and returns
a map that will result in an object of the expected format when returned to the Flex client.Authentication properties to be serialized over AMF, or null if no Authentication is foundCopyright © 2014. All rights reserved.