public class AuthorizedEvent extends AbstractAuthorizationEvent
Published just before the secure object attempts to proceed.
Constructor and Description |
---|
AuthorizedEvent(java.lang.Object secureObject,
java.util.Collection<ConfigAttribute> attributes,
Authentication authentication)
Construct the event.
|
Modifier and Type | Method and Description |
---|---|
Authentication |
getAuthentication() |
java.util.Collection<ConfigAttribute> |
getConfigAttributes() |
public AuthorizedEvent(java.lang.Object secureObject, java.util.Collection<ConfigAttribute> attributes, Authentication authentication)
secureObject
- the secure objectattributes
- that apply to the secure objectauthentication
- that successfully called the secure objectpublic Authentication getAuthentication()
public java.util.Collection<ConfigAttribute> getConfigAttributes()