Spring Security Framework

org.springframework.security.providers.jaas
Class JaasGrantedAuthority

java.lang.Object
  extended by org.springframework.security.GrantedAuthorityImpl
      extended by org.springframework.security.providers.jaas.JaasGrantedAuthority
All Implemented Interfaces:
Serializable, Comparable, GrantedAuthority

public class JaasGrantedAuthority
extends GrantedAuthorityImpl

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

Version:
$Id$
Author:
Ray Krueger
See Also:
AuthorityGranter, Serialized Form

Constructor Summary
JaasGrantedAuthority(String role, Principal principal)
           
 
Method Summary
 Principal getPrincipal()
           
 
Methods inherited from class org.springframework.security.GrantedAuthorityImpl
compareTo, 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()

Spring Security Framework

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