Class SecurityConfiguration
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.server.security.model.SecurityConfiguration
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://www.sodius.com/ns/security#") @OslcResourceShape(title="Security Configuration Resource Shape", describes="http://www.sodius.com/ns/security#SecurityConfiguration") public class SecurityConfiguration extends AbstractResource
The security configuration resource defines the settings controlling the Content Security Policy (CSP) headers applied to OSLC responses.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description SecurityConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFriend(URI friend)
void
addSharedCookie(String sharedCookie)
void
addWhitelist(URI whitelist)
URI[]
getFriends()
String[]
getSharedCookies()
URI[]
getWhitelist()
Boolean
isAdvancedLogin()
Boolean
isChildSrc()
Boolean
isDefaultTrustManager()
Boolean
isFrameAncestors()
Boolean
isSameSite()
Boolean
isWhitelistFriends()
void
setAdvancedLogin(Boolean advancedLogin)
void
setChildSrc(Boolean childSrc)
void
setDefaultTrustManager(Boolean defaultTrustManager)
void
setFrameAncestors(Boolean frameAncestors)
void
setFriends(URI[] friends)
void
setSameSite(Boolean sameSite)
void
setSharedCookies(String[] sharedCookies)
void
setWhitelist(URI[] whitelist)
void
setWhitelistFriends(Boolean whitelistFriends)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getWhitelist
@OslcPropertyDefinition("http://www.sodius.com/ns/security#whitelist") public URI[] getWhitelist()
-
addWhitelist
public void addWhitelist(URI whitelist)
-
setWhitelist
public void setWhitelist(URI[] whitelist)
-
getFriends
@OslcName("friend") @OslcPropertyDefinition("http://www.sodius.com/ns/security#friend") public URI[] getFriends()
-
addFriend
public void addFriend(URI friend)
-
setFriends
public void setFriends(URI[] friends)
-
isWhitelistFriends
@OslcPropertyDefinition("http://www.sodius.com/ns/security#whitelistFriends") public Boolean isWhitelistFriends()
-
setWhitelistFriends
public void setWhitelistFriends(Boolean whitelistFriends)
-
isFrameAncestors
@OslcPropertyDefinition("http://www.sodius.com/ns/security#frameAncestors") public Boolean isFrameAncestors()
-
setFrameAncestors
public void setFrameAncestors(Boolean frameAncestors)
-
isChildSrc
@OslcPropertyDefinition("http://www.sodius.com/ns/security#childSrc") public Boolean isChildSrc()
-
setChildSrc
public void setChildSrc(Boolean childSrc)
-
isSameSite
@OslcPropertyDefinition("http://www.sodius.com/ns/security#sameSite") public Boolean isSameSite()
-
setSameSite
public void setSameSite(Boolean sameSite)
-
isDefaultTrustManager
@OslcPropertyDefinition("http://www.sodius.com/ns/security#defaultTrustManager") public Boolean isDefaultTrustManager()
-
setDefaultTrustManager
public void setDefaultTrustManager(Boolean defaultTrustManager)
-
isAdvancedLogin
@OslcPropertyDefinition("http://www.sodius.com/ns/security#advancedLogin") public Boolean isAdvancedLogin()
-
setAdvancedLogin
public void setAdvancedLogin(Boolean advancedLogin)
-
getSharedCookies
@OslcName("sharedCookie") @OslcPropertyDefinition("http://www.sodius.com/ns/security#sharedCookie") public String[] getSharedCookies()
-
addSharedCookie
public void addSharedCookie(String sharedCookie)
-
setSharedCookies
public void setSharedCookies(String[] sharedCookies)
-
-