Skip navigation links


com.fatwire.wem.sso
Interface SSOAssertion

All Superinterfaces:
java.io.Serializable

public interface SSOAssertion
extends java.io.Serializable

This class provides information about the current authenticated user. Use SSOAssertion.getPrincipal() method to get the current user principal information.


Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          The value of attribute associated with this assertion.
 java.util.Map<java.lang.String,java.lang.Object> getAttributes()
          The attributes associated with current assertion in form of key/value pairs.
 java.lang.String getIssuer()
          The assertion provider URN.
 SSOPrincipal getPrincipal()
          User principal associated with current session.
 java.util.Date getValidFromDate()
          The date the assertion was issued.
 java.util.Date getValidUntilDate()
          The expiration date of the assertion.Can be used for validation purposes.

 

Method Detail

getPrincipal

SSOPrincipal getPrincipal()
User principal associated with current session.
Returns:
the principal.

getValidFromDate

java.util.Date getValidFromDate()
The date the assertion was issued. Can be used for validation purposes.
Returns:
the date issued.

getValidUntilDate

java.util.Date getValidUntilDate()
The expiration date of the assertion.Can be used for validation purposes.
Returns:
the expiration date.

getIssuer

java.lang.String getIssuer()
The assertion provider URN. E.g. "urn:sso_provider:cas" + host - for CAS implementation
Returns:
assertion provider

getAttributes

java.util.Map<java.lang.String,java.lang.Object> getAttributes()
The attributes associated with current assertion in form of key/value pairs.
Returns:
the map of attributes.

getAttribute

java.lang.Object getAttribute(java.lang.String name)
The value of attribute associated with this assertion.
Parameters:
name - - key
Returns:
value

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.