Browse Source

OPEN - issue SEC-759: GrantedAuthoritiesContainer should extend Serializable
http://jira.springframework.org/browse/SEC-759. Added Serializable to interface.

Luke Taylor 17 years ago
parent
commit
d288f722a8

+ 3 - 1
core/src/main/java/org/springframework/security/GrantedAuthoritiesContainer.java

@@ -1,5 +1,7 @@
 package org.springframework.security;
 
+import java.io.Serializable;
+
 /**
  * Indicates that a object stores GrantedAuthority objects.
  * <p>
@@ -10,6 +12,6 @@ package org.springframework.security;
  * @author Luke Taylor
  * @since 2.0
  */
-public interface GrantedAuthoritiesContainer {
+public interface GrantedAuthoritiesContainer extends Serializable {
     GrantedAuthority[] getGrantedAuthorities();
 }