Package org.dspace.app.rest.security
Class VersioningSecurityBean
java.lang.Object
org.dspace.app.rest.security.VersioningSecurityBean
Methods of this class are used on PreAuthorize annotations
to check security on versioning endpoint
- Author:
- Mykhaylo Boychuk (mykhaylo.boychuk at 4science.it)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis method checks if the versioning features are enabled
-
Constructor Details
-
VersioningSecurityBean
public VersioningSecurityBean()
-
-
Method Details
-
isEnableVersioning
public boolean isEnableVersioning()This method checks if the versioning features are enabled- Returns:
- true if is enabled or unset
-