Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.security.callback
Class SAMLTokenCallback

java.lang.Object
  extended by oracle.wsm.security.callback.SAMLTokenCallback

All Implemented Interfaces:
Callback

public class SAMLTokenCallback
extends Object
implements Callback

Constructor Summary
SAMLTokenCallback()
          Constructor
SAMLTokenCallback(String prompt)
          Constructor

 

Method Summary
 String getPrompt()
          Get the prompt
 String getSubjectName()
          Get the subject name for whom assertion is being requested
 Element getXMLToken()
          Get the assertion from the callback
 void setSubjectName(String name)
          Set the assertion subject name in the callback
 void setXMLToken(Element assertion)
          Set the assertion in the callback

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SAMLTokenCallback

public SAMLTokenCallback()
Constructor

SAMLTokenCallback

public SAMLTokenCallback(String prompt)
Constructor
Parameters:
prompt - used to request the assertion

Method Detail

setXMLToken

public void setXMLToken(Element assertion)
Set the assertion in the callback
Parameters:
assertion - XML element containing the assertion
Throws:
IllegalArgumentException - if assertion is null.

getXMLToken

public Element getXMLToken()
Get the assertion from the callback
Returns:
XML element containing the assertion or null if none set.

getPrompt

public String getPrompt()
Get the prompt
Returns:
prompt string

getSubjectName

public String getSubjectName()
Get the subject name for whom assertion is being requested
Returns:
name or null if none set

setSubjectName

public void setSubjectName(String name)
Set the assertion subject name in the callback
Parameters:
name - of subject for whom assertion is being requested
Throws:
IllegalArgumentException - if name is null.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.