Package ch.tocco.nice2.security.spi
Class ModifiableRole
java.lang.Object
ch.tocco.nice2.security.spi.ModifiableRole
- All Implemented Interfaces:
Role
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddImplied(Role role) booleangetName()inthashCode()booleanremoveImplied(Role role) booleanvoidsetRequiresTwoFactorAuth(boolean requiresTwoFactorAuth) toString()
-
Constructor Details
-
ModifiableRole
-
-
Method Details
-
getName
-
requiresTwoFactorAuth
public boolean requiresTwoFactorAuth()- Specified by:
requiresTwoFactorAuthin interfaceRole
-
setRequiresTwoFactorAuth
public void setRequiresTwoFactorAuth(boolean requiresTwoFactorAuth) -
getImplied
- Specified by:
getImpliedin interfaceRole
-
addImplied
- Specified by:
addImpliedin interfaceRole- Throws:
UnauthorizedException
-
removeImplied
- Specified by:
removeImpliedin interfaceRole- Throws:
UnauthorizedException
-
toString
-
equals
-
hashCode
public int hashCode()
-