org.springframework.security.authentication.jaas
Class JaasGrantedAuthority

java.lang.Object
  extended by org.springframework.security.core.authority.GrantedAuthorityImpl
      extended by org.springframework.security.authentication.jaas.JaasGrantedAuthority
All Implemented Interfaces:
Serializable, GrantedAuthority

public class JaasGrantedAuthority
extends GrantedAuthorityImpl

Extends GrantedAuthorityImpl to hold the principal that an AuthorityGranter justified as a reason to grant this Authority.

See Also:
AuthorityGranter, Serialized Form

Constructor Summary
JaasGrantedAuthority(String role, Principal principal)
           
 
Method Summary
 Principal getPrincipal()
           
 
Methods inherited from class org.springframework.security.core.authority.GrantedAuthorityImpl
equals, getAuthority, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaasGrantedAuthority

public JaasGrantedAuthority(String role,
                            Principal principal)
Method Detail

getPrincipal

public Principal getPrincipal()