Spring Security Framework

org.springframework.security
Interface MutableGrantedAuthoritiesContainer

All Superinterfaces:
GrantedAuthoritiesContainer, Serializable
All Known Implementing Classes:
GrantedAuthoritiesContainerImpl, PortletPreAuthenticatedAuthenticationDetails, PreAuthenticatedGrantedAuthoritiesAuthenticationDetails, PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails

public interface MutableGrantedAuthoritiesContainer
extends GrantedAuthoritiesContainer

Indicates that a object can be used to store and retrieve GrantedAuthority objects.

Typically used in a pre-authenticated scenario when an AuthenticationDetails instance may also be used to obtain user authorities.

Since:
2.0
Author:
Ruud Senden, Luke Taylor

Method Summary
 void setGrantedAuthorities(GrantedAuthority[] authorities)
          Used to store authorities in the containing object.
 
Methods inherited from interface org.springframework.security.GrantedAuthoritiesContainer
getGrantedAuthorities
 

Method Detail

setGrantedAuthorities

void setGrantedAuthorities(GrantedAuthority[] authorities)
Used to store authorities in the containing object.


Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.