Skip navigation links


com.fatwire.wem.sso
Interface SSOPrincipal

All Superinterfaces:
java.security.Principal

public interface SSOPrincipal
extends java.security.Principal

This object holds information about the user principal. Attributes of this object are populated on identity provider side. Use your custom plug-ins there if you want some extra information to be included.


Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          The value of attribute associated with this user.
 java.util.Map<java.lang.String,java.lang.Object> getAttributes()
          The key/value pairs associated with this user.
 java.lang.String getDisplayName()
          The user display name
 java.lang.String getDN()
          The unique user identifier
 java.lang.String getEmail()
          The user email

 

Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString

 

Method Detail

getDN

java.lang.String getDN()
The unique user identifier
Returns:
user identifier

getDisplayName

java.lang.String getDisplayName()
The user display name
Returns:
display name

getEmail

java.lang.String getEmail()
The user email
Returns:
email

getAttribute

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

getAttributes

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

Skip navigation links


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