Package com.okta.sdk.resource.model
Enum PolicyType
- All Implemented Interfaces:
Serializable
,Comparable<PolicyType>
,java.lang.constant.Constable
All Okta orgs contain only one IdP Discovery Policy with an immutable default Rule routing to your org's sign-in
page. Creating or replacing a policy with the `IDP_DISCOVERY` type isn't supported. The following
policy types are available with Identity Engine: `ACCESS_POLICY`, `PROFILE_ENROLLMENT`,
`POST_AUTH_SESSION`, and `ENTITY_RISK`. The `POST_AUTH_SESSION`, and
`ENTITY_RISK` policy types are in <x-lifecycle class=\"ea\"></x-lifecycle>.
Contact your Okta account team to enable these features.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyType
getValue()
toString()
toUrlQueryString
(String prefix) Convert the instance into URL query string.static PolicyType
Returns the enum constant of this type with the specified name.static PolicyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACCESS_POLICY
-
ENTITY_RISK
-
IDP_DISCOVERY
-
MFA_ENROLL
-
OKTA_SIGN_ON
-
PASSWORD
-
POST_AUTH_SESSION
-
PROFILE_ENROLLMENT
-
RESOURCE_ACCESS
-
UNKNOWN_DEFAULT_OPEN_API
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-
toString
- Overrides:
toString
in classEnum<PolicyType>
-
fromValue
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-