Package de.xima.fc.security.endpoint
Enum EPublicView
- java.lang.Object
-
- java.lang.Enum<EPublicView>
-
- de.xima.fc.security.endpoint.EPublicView
-
- All Implemented Interfaces:
IView
,IWebEndpoint
,Serializable
,Comparable<EPublicView>
public enum EPublicView extends Enum<EPublicView> implements IView
Public view definitions that don't require an authenticated in user.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthorizer
getAuthorizer()
IAvailabiltyResolver
getAvailibilityResolver()
String
getId()
IUriResolver
getUriResolver()
String
toString()
static EPublicView
valueOf(String name)
Returns the enum constant of this type with the specified name.static EPublicView[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WELCOME
public static final EPublicView WELCOME
-
ADMIN
public static final EPublicView ADMIN
-
EXTERNAL
public static final EPublicView EXTERNAL
-
SIGNIN
public static final EPublicView SIGNIN
-
SIGNUP
public static final EPublicView SIGNUP
-
SIGNUP_COMPLETE
public static final EPublicView SIGNUP_COMPLETE
-
INVITE
public static final EPublicView INVITE
-
PROFILE_CONFLICT
public static final EPublicView PROFILE_CONFLICT
-
PROFILE_DELETE
public static final EPublicView PROFILE_DELETE
-
PROFILE_MAIL_PRIMARY
public static final EPublicView PROFILE_MAIL_PRIMARY
-
PROFILE_MAIL_VERIFY
public static final EPublicView PROFILE_MAIL_VERIFY
-
PROFILE_IDENTITY_REMOVE
public static final EPublicView PROFILE_IDENTITY_REMOVE
-
PROFILE_MFA_REMOVE
public static final EPublicView PROFILE_MFA_REMOVE
-
MFA_REGISTRATION
public static final EPublicView MFA_REGISTRATION
-
FORGOT_PW
public static final EPublicView FORGOT_PW
-
SET_PW
public static final EPublicView SET_PW
-
LOADING
public static final EPublicView LOADING
-
ERROR_GENERAL
public static final EPublicView ERROR_GENERAL
-
ERROR_ACCESS_DENIED
public static final EPublicView ERROR_ACCESS_DENIED
-
ERROR_NOT_FOUND
public static final EPublicView ERROR_NOT_FOUND
-
-
Method Detail
-
values
public static EPublicView[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EPublicView c : EPublicView.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPublicView valueOf(String name)
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
-
getId
public String getId()
- Specified by:
getId
in interfaceIWebEndpoint
- Returns:
- the unique ID of this web endpoint.
-
getUriResolver
public IUriResolver getUriResolver()
- Specified by:
getUriResolver
in interfaceIWebEndpoint
- Returns:
- the uri resolver which defines the location of this endpoint.
-
getAvailibilityResolver
public IAvailabiltyResolver getAvailibilityResolver()
- Specified by:
getAvailibilityResolver
in interfaceIWebEndpoint
- Returns:
- the availability resolver that defines the availability requirements of this web endpoint. May be
null
. Ifnull
resolver is returned than the web endpoint is available.
-
getAuthorizer
public IAuthorizer getAuthorizer()
- Specified by:
getAuthorizer
in interfaceIWebEndpoint
- Returns:
- the authorizer that defines authorization requirements of this web endpoint. May be
null
. Ifnull
authorizer is returned than the view web enpoint is public, which means any user can access it.
-
toString
public String toString()
- Overrides:
toString
in classEnum<EPublicView>
-
-