nl.surfnet.coin.selfservice.domain
Class CoinAuthority

java.lang.Object
  extended by nl.surfnet.coin.selfservice.domain.CoinAuthority
All Implemented Interfaces:
Serializable, org.springframework.security.core.GrantedAuthority

public class CoinAuthority
extends Object
implements org.springframework.security.core.GrantedAuthority

Simple implementation of a GrantedAuthority

See Also:
Serialized Form

Nested Class Summary
static class CoinAuthority.Authority
           
 
Constructor Summary
CoinAuthority(CoinAuthority.Authority authority)
           
 
Method Summary
 boolean equals(Object o)
           
 String getAuthority()
           
 CoinAuthority.Authority getEnumAuthority()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoinAuthority

public CoinAuthority(CoinAuthority.Authority authority)
Method Detail

getAuthority

public String getAuthority()
Specified by:
getAuthority in interface org.springframework.security.core.GrantedAuthority

getEnumAuthority

public CoinAuthority.Authority getEnumAuthority()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.