Package com.sas.lsaf.security.user
Class AuthenticationProviderInfo
java.lang.Object
com.sas.lsaf.security.user.AuthenticationProviderInfo
- All Implemented Interfaces:
Serializable
Metadata representation of an authentication provider suitable for selection lists. Authentication providers enable
external authentication routines within the system. External authentication providers are an optional feature allowed
on the server so the available list varies from instance to instance.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationProviderInfo(String id, String name, String description, boolean primary) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the description of the authentication provider.getId()Gets the unique identifier for the authentication provider.getName()Gets the display name for the authentication provider.inthashCode()booleanReturnstrueif the authentication provider is the primary provider,falseotherwise.toString()
-
Constructor Details
-
AuthenticationProviderInfo
Constructor.- Parameters:
id- the unique identifier for the authentication provider.name- the display name for the authentication provider.description- the description of the authentication provider.primary- indicates that the authentication provider is the primary provider.
-
-
Method Details
-
getId
Gets the unique identifier for the authentication provider.- Returns:
- The unique identifier for the authentication provider.
-
getName
Gets the display name for the authentication provider.- Returns:
- The display name for the authentication provider.
-
getDescription
Gets the description of the authentication provider.- Returns:
- The description of the authentication provider.
-
isPrimary
public boolean isPrimary()Returnstrueif the authentication provider is the primary provider,falseotherwise.- Returns:
Trueif the authentication provider is the primary provider,falseotherwise.
-
hashCode
public int hashCode() -
equals
-
toString
-