Package pl.edu.icm.unity.types.authn
Class AuthenticationRealm
- java.lang.Object
-
- pl.edu.icm.unity.types.DescribedObjectROImpl
-
- pl.edu.icm.unity.types.DescribedObjectImpl
-
- pl.edu.icm.unity.types.authn.AuthenticationRealm
-
- All Implemented Interfaces:
DescribedObject
,NamedObject
public class AuthenticationRealm extends DescribedObjectImpl
Authentication realm definition.- Author:
- K. Benedyczak
-
-
Field Summary
-
Fields inherited from class pl.edu.icm.unity.types.DescribedObjectROImpl
description, name
-
-
Constructor Summary
Constructors Constructor Description AuthenticationRealm()
AuthenticationRealm(com.fasterxml.jackson.databind.node.ObjectNode root)
AuthenticationRealm(String name, String description, int blockAfterUnsuccessfulLogins, int blockFor, RememberMePolicy rememberMePolicy, int allowForRememberMeDays, int maxInactivity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getAllowForRememberMeDays()
int
getBlockAfterUnsuccessfulLogins()
int
getBlockFor()
int
getMaxInactivity()
RememberMePolicy
getRememberMePolicy()
int
hashCode()
void
setAllowForRememberMeDays(int allowForRememberMeDays)
void
setBlockAfterUnsuccessfulLogins(int blockAfterUnsuccessfulLogins)
void
setBlockFor(int blockFor)
void
setMaxInactivity(int maxInactivity)
void
setRememberMePolicy(RememberMePolicy rememberMePolicy)
com.fasterxml.jackson.databind.node.ObjectNode
toJson()
String
toString()
-
Methods inherited from class pl.edu.icm.unity.types.DescribedObjectImpl
setDescription, setName
-
Methods inherited from class pl.edu.icm.unity.types.DescribedObjectROImpl
fromJsonDescObj, getDescription, getName
-
-
-
-
Constructor Detail
-
AuthenticationRealm
public AuthenticationRealm()
-
AuthenticationRealm
public AuthenticationRealm(String name, String description, int blockAfterUnsuccessfulLogins, int blockFor, RememberMePolicy rememberMePolicy, int allowForRememberMeDays, int maxInactivity)
-
AuthenticationRealm
public AuthenticationRealm(com.fasterxml.jackson.databind.node.ObjectNode root)
-
-
Method Detail
-
getBlockAfterUnsuccessfulLogins
public int getBlockAfterUnsuccessfulLogins()
-
setBlockAfterUnsuccessfulLogins
public void setBlockAfterUnsuccessfulLogins(int blockAfterUnsuccessfulLogins)
-
getBlockFor
public int getBlockFor()
-
setBlockFor
public void setBlockFor(int blockFor)
-
getAllowForRememberMeDays
public int getAllowForRememberMeDays()
-
setAllowForRememberMeDays
public void setAllowForRememberMeDays(int allowForRememberMeDays)
-
getMaxInactivity
public int getMaxInactivity()
-
setMaxInactivity
public void setMaxInactivity(int maxInactivity)
-
getRememberMePolicy
public RememberMePolicy getRememberMePolicy()
-
setRememberMePolicy
public void setRememberMePolicy(RememberMePolicy rememberMePolicy)
-
toJson
public com.fasterxml.jackson.databind.node.ObjectNode toJson()
- Overrides:
toJson
in classDescribedObjectROImpl
-
toString
public String toString()
- Overrides:
toString
in classDescribedObjectROImpl
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDescribedObjectROImpl
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classDescribedObjectROImpl
-
-