|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.flex.security.AuthenticationResultUtils
public abstract class AuthenticationResultUtils
Helper that ensures consistent handling of a Spring Security 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 Summary | |
|---|---|
AuthenticationResultUtils()
|
|
| Method Summary | |
|---|---|
static java.util.Map<java.lang.String,java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationResultUtils()
| Method Detail |
|---|
public static java.util.Map<java.lang.String,java.lang.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 found
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||