Package org.openiam.am.srvc.dto
Class AuthProvider
- java.lang.Object
-
- org.openiam.base.BaseObject
-
- org.openiam.base.KeyDTO
-
- org.openiam.base.KeyNameDTO
-
- org.openiam.am.srvc.dto.AuthProvider
-
- All Implemented Interfaces:
Serializable
,BaseIdentity
public class AuthProvider extends KeyNameDTO
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openiam.base.KeyNameDTO
name_
-
Fields inherited from class org.openiam.base.BaseObject
DELETE, NEW, objectState, requestClientIP, requestorLogin, requestorSessionID, requestorUserId, UPDATE
-
-
Constructor Summary
Constructors Constructor Description AuthProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(String attributeId, String value)
void
addAttribute(AuthProviderAttribute attribute)
void
generateId2ValueAttributeMap()
String
getAttribute(String name)
AuthProviderAttribute
getAttributeById(String id)
Created By Anton Novikov in 4.1.9 13th Dec 2019Map<String,AuthProviderAttribute>
getAttributeMap()
Returns provider attributes as Map.AuthResourceAttributeMap
getResourceAttributeByName(String name)
boolean
isSupportsEmailOTP()
boolean
isSupportsOTPType(Set<OTPRequestType> types)
boolean
isSupportsSASOTP()
boolean
isSupportsSMSOTP()
boolean
isSupportsVoiceOTP()
void
setAttributes(Set<AuthProviderAttribute> attributes)
-
Methods inherited from class org.openiam.base.KeyNameDTO
equals, getName, hashCode, setName, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openiam.base.BaseIdentity
getId, setId
-
-
-
-
Method Detail
-
setAttributes
public void setAttributes(Set<AuthProviderAttribute> attributes)
-
isSupportsEmailOTP
public boolean isSupportsEmailOTP()
-
isSupportsSMSOTP
public boolean isSupportsSMSOTP()
-
isSupportsSASOTP
public boolean isSupportsSASOTP()
-
isSupportsVoiceOTP
public boolean isSupportsVoiceOTP()
-
isSupportsOTPType
public boolean isSupportsOTPType(Set<OTPRequestType> types)
-
getAttributeMap
public Map<String,AuthProviderAttribute> getAttributeMap()
Returns provider attributes as Map. Key of the map is attribute name. if you want to change attribute value, add new or remove attribute, don't use this map. use setProviderAttributeSet() property to change attribute instead.
-
getAttributeById
public AuthProviderAttribute getAttributeById(String id)
Created By Anton Novikov in 4.1.9 13th Dec 2019- Parameters:
id
- - id of attribute- Returns:
AuthProviderAttribute
if there is attribute for given ID, otherwise - NULL
-
generateId2ValueAttributeMap
public void generateId2ValueAttributeMap()
-
addAttribute
public void addAttribute(AuthProviderAttribute attribute)
-
getResourceAttributeByName
public AuthResourceAttributeMap getResourceAttributeByName(String name)
-
-