We're trying to create a custom SSO for our Confluence Server using Atlassian's Seraph (https://docs.atlassian.com/atlassian-seraph/2.6.1-m1/sso.html) and have a question:
In the SSOnCookie class, where can I find documentation (or sample code) to flesh out the Constructor and the isExpired() and getLoginId() methods?
public static SSOnCookie getSSOCookie(HttpServletRequest request)
{
// [[[ What code goes here? ]]]
}
public boolean isExpired()
{
// [[[ What code goes here? ]]]
}
/** Return the username implied by the cookie in the request. */
public String getLoginId()
{
// [[[ What code goes here? ]]]
}
Thanks in advance!
Github provided many interesting examples :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.