Class FSIDPAuthenticationContextInfo
- java.lang.Object
-
- com.sun.identity.federation.services.FSIDPAuthenticationContextInfo
-
- All Implemented Interfaces:
Serializable
public class FSIDPAuthenticationContextInfo extends Object implements Serializable
This class is used to store the IDP Authentication Context Information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FSIDPAuthenticationContextInfo()Default constructor.FSIDPAuthenticationContextInfo(String infoString)Constructs a new object.FSIDPAuthenticationContextInfo(String authenticationContext, String moduleIndicatorKey, String moduleIndicatorValue, int level)Creates newFSIDPAuthenticationContextInfoinstance.FSIDPAuthenticationContextInfo(String authenticationContext, String moduleIndicatorKey, String moduleIndicatorValue, String level)Creates newFSIDPAuthenticationContextInfoinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthenticationContext()Returns authentication context.intgetLevel()Returns level.StringgetModuleIndicatorKey()Returns module indicator key.StringgetModuleIndicatorValue()Returns module indicator.voidsetAuthenticationContext(String authenticationContext)Sets authentication context.voidsetLevel(int level)Sets level.voidsetLevel(String level)Sets level.voidsetModuleIndicatorKey(String moduleIndicatorKey)Sets module indicator key.voidsetModuleIndicatorValue(String moduleIndicatorValue)Sets module indicator value.
-
-
-
Constructor Detail
-
FSIDPAuthenticationContextInfo
public FSIDPAuthenticationContextInfo()
Default constructor.
-
FSIDPAuthenticationContextInfo
public FSIDPAuthenticationContextInfo(String infoString) throws FSException
Constructs a new object.- Parameters:
infoString- a string that contains one idp authentication context mapping- Throws:
FSException
-
FSIDPAuthenticationContextInfo
public FSIDPAuthenticationContextInfo(String authenticationContext, String moduleIndicatorKey, String moduleIndicatorValue, int level) throws FSException
Creates newFSIDPAuthenticationContextInfoinstance.- Parameters:
authenticationContext- Authentication Context.moduleIndicatorKey- module indicator key.moduleIndicatorValue- module indicator value.level- Level of the auth module- Throws:
FSException- ifauthenticationContextis blank.
-
FSIDPAuthenticationContextInfo
public FSIDPAuthenticationContextInfo(String authenticationContext, String moduleIndicatorKey, String moduleIndicatorValue, String level) throws FSException
Creates newFSIDPAuthenticationContextInfoinstance.- Parameters:
authenticationContext- Authentication Context.moduleIndicatorKey- module indicator key.moduleIndicatorValue- module indicator value.level- Level- Throws:
FSException- ifauthenticationContextis blank, or cannot obtain an int fromlevel.
-
-
Method Detail
-
getAuthenticationContext
public String getAuthenticationContext()
Returns authentication context.- Returns:
- authentication context.
-
setAuthenticationContext
public void setAuthenticationContext(String authenticationContext) throws FSException
Sets authentication context.- Parameters:
authenticationContext- authentication context.- Throws:
FSException- ifauthenticationContextis blank.
-
getLevel
public int getLevel()
Returns level.- Returns:
- level.
-
setLevel
public void setLevel(String level) throws FSException
Sets level.- Parameters:
level- Strength level.- Throws:
FSException- iflevelis not an integer.
-
setLevel
public void setLevel(int level)
Sets level.- Parameters:
level- level of the auth module.
-
getModuleIndicatorKey
public String getModuleIndicatorKey()
Returns module indicator key.- Returns:
- module indicator key.
-
setModuleIndicatorKey
public void setModuleIndicatorKey(String moduleIndicatorKey)
Sets module indicator key.- Parameters:
moduleIndicatorKey- module indicator key.
-
getModuleIndicatorValue
public String getModuleIndicatorValue()
Returns module indicator.- Returns:
- module indicator of the module that implements this Authentication Context.
-
setModuleIndicatorValue
public void setModuleIndicatorValue(String moduleIndicatorValue)
Sets module indicator value.- Parameters:
moduleIndicatorValue- module indicator.
-
-