org.apache.rahas.impl.util
Class SAMLNameIdentifierCallback

java.lang.Object
  extended by org.apache.rahas.impl.util.SAMLNameIdentifierCallback
All Implemented Interfaces:
SAMLCallback

public class SAMLNameIdentifierCallback
extends java.lang.Object
implements SAMLCallback

This is used retrieve data for the SAMLNameIdentifier. SAMLNameIdentifier can have different formats. Depending on it, NameIdentifier must have different values. It should be implementation specific.


Field Summary
 
Fields inherited from interface org.apache.rahas.impl.util.SAMLCallback
ATTR_CALLBACK, NAME_IDENTIFIER_CALLBACK
 
Constructor Summary
SAMLNameIdentifierCallback(RahasData data)
           
 
Method Summary
 int getCallbackType()
          Returns the type of callback
 RahasData getData()
           
 org.opensaml.SAMLNameIdentifier getNameId()
           
 java.lang.String getUserId()
           
 void setNameId(org.opensaml.SAMLNameIdentifier nameId)
           
 void setUserId(java.lang.String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLNameIdentifierCallback

public SAMLNameIdentifierCallback(RahasData data)
Method Detail

getCallbackType

public int getCallbackType()
Description copied from interface: SAMLCallback
Returns the type of callback

Specified by:
getCallbackType in interface SAMLCallback
Returns:

getNameId

public org.opensaml.SAMLNameIdentifier getNameId()

setNameId

public void setNameId(org.opensaml.SAMLNameIdentifier nameId)

setUserId

public void setUserId(java.lang.String userId)

getUserId

public java.lang.String getUserId()

getData

public RahasData getData()