nl.surfnet.coin.selfservice.domain
Class CoinAuthority
java.lang.Object
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
CoinAuthority
public CoinAuthority(CoinAuthority.Authority authority)
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.