mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-12 21:33:30 +00:00
Made serializable as per request by Mike Youngstrom.
This commit is contained in:
parent
614f12448e
commit
4cac2f1a62
@ -15,6 +15,9 @@
|
|||||||
|
|
||||||
package net.sf.acegisecurity;
|
package net.sf.acegisecurity;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Basic concrete implementation of a {@link GrantedAuthority}.
|
* Basic concrete implementation of a {@link GrantedAuthority}.
|
||||||
*
|
*
|
||||||
@ -26,7 +29,7 @@ package net.sf.acegisecurity;
|
|||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class GrantedAuthorityImpl implements GrantedAuthority {
|
public class GrantedAuthorityImpl implements GrantedAuthority, Serializable {
|
||||||
//~ Instance fields ========================================================
|
//~ Instance fields ========================================================
|
||||||
|
|
||||||
private String role;
|
private String role;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user