# Uses of Enum
org.apache.tapestry5.http.LinkSecurity

Packages that use LinkSecurity
Package
Description
org.apache.tapestry5.http
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change

- ## Uses of LinkSecurity in org.apache.tapestry5.http

  Methods in org.apache.tapestry5.http that return LinkSecurity
  Modifier and Type
  Method
  Description
  `LinkSecurity`
  Link.`getSecurity()`
  Returns the current security for this link, which reflects whether the targeted page is itself secure or insecure.
  `LinkSecurity`
  LinkSecurity.`promote()`
  Promotes to either `FORCE_SECURE` or `FORCE_INSECURE`.
  `static LinkSecurity`
  LinkSecurity.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static LinkSecurity[]`
  LinkSecurity.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in org.apache.tapestry5.http with parameters of type LinkSecurity
  Modifier and Type
  Method
  Description
  `void`
  Link.`setSecurity(LinkSecurity newSecurity)`
  Changes the link's security, which can be useful to force a link to be either secure or insecure when normally it might not be.

- ## Uses of LinkSecurity in org.apache.tapestry5.internal.services

  Methods in org.apache.tapestry5.internal.services that return LinkSecurity
  Modifier and Type
  Method
  Description
  `LinkSecurity`
  RequestSecurityManager.`checkPageSecurity(String pageName)`
  Determines if the page security does not match the request's security.
  `LinkSecurity`
  RequestSecurityManagerImpl.`checkPageSecurity(String pageName)`
  `LinkSecurity`
  LinkImpl.`getSecurity()`
  Methods in org.apache.tapestry5.internal.services with parameters of type LinkSecurity
  Modifier and Type
  Method
  Description
  `void`
  LinkImpl.`setSecurity(LinkSecurity newSecurity)`
  Constructors in org.apache.tapestry5.internal.services with parameters of type LinkSecurity
  Modifier
  Constructor
  Description
  ``
  `LinkImpl(String basePath, boolean forForm, LinkSecurity defaultSecurity, Response response, ContextPathEncoder contextPathEncoder, BaseURLSource baseURLSource)`