Class FSSPAuthenticationContextInfo
- java.lang.Object
-
- com.sun.identity.federation.services.FSSPAuthenticationContextInfo
-
public class FSSPAuthenticationContextInfo extends Object
TheFSSPAuthenticationContextInfois used to contain the information about the AuthenticationContext to AuthenticationLevel mapping
-
-
Constructor Summary
Constructors Constructor Description FSSPAuthenticationContextInfo()Creates newFSSPAuthenticationContextInfoobject.FSSPAuthenticationContextInfo(String mapping)Constructs a new object.FSSPAuthenticationContextInfo(String authenticationContext, int authenticationLevel)Creates new FSSPAuthenticationContextInfoFSSPAuthenticationContextInfo(String authenticationContext, String authenticationLevel)Creates new FSSPAuthenticationContextInfo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthenticationContext()Returns the authentication context.intgetAuthenticationLevel()Returns authentication level.voidsetAuthenticationContext(String authenticaionContext)Sets authentication context.voidsetAuthenticationLevel(int authenticationLevel)Sets authentication level.voidsetAuthenticationLevel(String authenticationLevel)Sets authentication level.
-
-
-
Constructor Detail
-
FSSPAuthenticationContextInfo
public FSSPAuthenticationContextInfo()
Creates newFSSPAuthenticationContextInfoobject.
-
FSSPAuthenticationContextInfo
public FSSPAuthenticationContextInfo(String mapping) throws FSException
Constructs a new object.- Parameters:
mapping- a string that contains service provider's authentication context mapping. It is retrieved from the provider's extended meta.- Throws:
FSException- if an error occured during the parsing
-
FSSPAuthenticationContextInfo
public FSSPAuthenticationContextInfo(String authenticationContext, int authenticationLevel) throws FSException
Creates new FSSPAuthenticationContextInfo- Parameters:
authenticationContext- the authContext name.authenticationLevel- the authentication level.- Throws:
FSSPAuthenticationContextInfo- ifauthenticationContextorauthenticationLevelis invalid.FSException
-
FSSPAuthenticationContextInfo
public FSSPAuthenticationContextInfo(String authenticationContext, String authenticationLevel) throws FSException
Creates new FSSPAuthenticationContextInfo- Parameters:
authenticationContext- the authContext name.authenticationLevel- the authentication level.- Throws:
FSSPAuthenticationContextInfo- ifauthenticationContextorauthenticationLevelis invalid.FSException
-
-
Method Detail
-
getAuthenticationContext
public String getAuthenticationContext()
Returns the authentication context.- Returns:
- Authentication Context.
-
setAuthenticationContext
public void setAuthenticationContext(String authenticaionContext) throws FSException
Sets authentication context.- Parameters:
authenticaionContext- Authentication Context.- Throws:
FSException- ifauthenticaionContextis blank.
-
getAuthenticationLevel
public int getAuthenticationLevel()
Returns authentication level.- Returns:
- Authentication Level.
-
setAuthenticationLevel
public void setAuthenticationLevel(int authenticationLevel) throws FSExceptionSets authentication level.- Parameters:
authenticationLevel- Authentication Level.- Throws:
FSException- ifauthenticationLevelis negative.
-
setAuthenticationLevel
public void setAuthenticationLevel(String authenticationLevel) throws FSException
Sets authentication level.- Parameters:
authenticationLevel- Authentication Level.- Throws:
FSException- ifauthenticationLevelis negative.
-
-