public class AccessCookieService extends Service
The client uses this service to obtain a cookie that will be used when interacting with content such as images, and with the access token service.
There are several different interaction patterns in which the client will use this service, based on the user interface that must be rendered for the user, indicated by a profile URI. The client obtains the link to the access cookie service from a service block in a description of the protected resource.
| Constructor and Description |
|---|
AccessCookieService(String identifier,
AuthPattern pattern) |
AccessCookieService(URI identifier,
AuthPattern pattern)
Create a new access cookie service from an (optional) identifier and an authentication pattern.
|
addProfile, addProfile, getContext, getIdentifier, getLabel, getLabelString, getProfiles, setContext, setIdentifier, setLabel, setLabel, setProfilespublic static final String CONTEXT
public AccessCookieService(String identifier, AuthPattern pattern)
public AccessCookieService(URI identifier, AuthPattern pattern) throws IllegalArgumentException
Create a new access cookie service from an (optional) identifier and an authentication pattern.
IllegalArgumentException - If the auth pattern is not “external” and no identifier is provided.public AuthPattern getAuthPattern()
public PropertyValue getConfirmLabel()
public String getConfirmLabelString()
public void setConfirmLabel(PropertyValue confirmLabel)
public void setConfirmLabel(String label)
public PropertyValue getHeader()
public String getHeaderString()
public void setHeader(PropertyValue header)
public void setHeader(String header)
public PropertyValue getDescription()
public String getDescriptionString()
public void setDescription(PropertyValue description)
public void setDescription(String description)
public PropertyValue getFailureHeader()
public String getFailureHeaderString()
public void setFailureHeader(PropertyValue failureHeader)
public void setFailureHeader(String failureHeader)
public PropertyValue getFailureDescription()
public String getFailureDescriptionString()
public void setFailureDescription(PropertyValue failureDescription)
public void setFailureDescription(String failureDescription)
public List<AuthService> getServices()
public void setServices(List<AuthService> services)
public void addService(AuthService first, AuthService... rest)
Copyright © 2018. All rights reserved.