Package ch.tocco.nice2.security.spi
Class ModifiableRole
java.lang.Object
ch.tocco.nice2.security.spi.ModifiableRole
- All Implemented Interfaces:
Role
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addImplied
(Role role) boolean
getName()
int
hashCode()
boolean
removeImplied
(Role role) boolean
void
setRequiresTwoFactorAuth
(boolean requiresTwoFactorAuth) toString()
-
Constructor Details
-
ModifiableRole
-
-
Method Details
-
getName
-
requiresTwoFactorAuth
public boolean requiresTwoFactorAuth()- Specified by:
requiresTwoFactorAuth
in interfaceRole
-
setRequiresTwoFactorAuth
public void setRequiresTwoFactorAuth(boolean requiresTwoFactorAuth) -
getImplied
- Specified by:
getImplied
in interfaceRole
-
addImplied
- Specified by:
addImplied
in interfaceRole
- Throws:
UnauthorizedException
-
removeImplied
- Specified by:
removeImplied
in interfaceRole
- Throws:
UnauthorizedException
-
toString
-
equals
-
hashCode
public int hashCode()
-