Package de.xima.fc.security.endpoint
Enum EProtectedView
- java.lang.Object
-
- java.lang.Enum<EProtectedView>
-
- de.xima.fc.security.endpoint.EProtectedView
-
- All Implemented Interfaces:
IView
,IWebEndpoint
,Serializable
,Comparable<EProtectedView>
public enum EProtectedView extends Enum<EProtectedView> implements IView
Protected view definitions that require an authenticated user- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTERNAL_PROJECTS
MFA_VERIFY
SCOPE_SELECTION
USER_PROFILE
-
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 EProtectedView
valueOf(String name)
Returns the enum constant of this type with the specified name.static EProtectedView[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCOPE_SELECTION
public static final EProtectedView SCOPE_SELECTION
-
MFA_VERIFY
public static final EProtectedView MFA_VERIFY
-
USER_PROFILE
public static final EProtectedView USER_PROFILE
-
EXTERNAL_PROJECTS
public static final EProtectedView EXTERNAL_PROJECTS
-
-
Method Detail
-
values
public static EProtectedView[] 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 (EProtectedView c : EProtectedView.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EProtectedView 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<EProtectedView>
-
-