com.dyuproject.openid.ext
Class AxSchemaExtension.SimpleExchange

java.lang.Object
  extended by com.dyuproject.openid.ext.AxSchemaExtension.AbstractExchange
      extended by com.dyuproject.openid.ext.AxSchemaExtension.SimpleExchange
All Implemented Interfaces:
Extension.Exchange
Enclosing class:
AxSchemaExtension

public static final class AxSchemaExtension.SimpleExchange
extends AxSchemaExtension.AbstractExchange

SimpleExchange - exchanges a key with a value from the user's openid provider.

 A field request parameter is denoted as:
 openid.foo.type.bar = some_namespace
 
 A field response parameter is denoted as: 
 openid.foo.bar.value = value
 
 Where: 
 foo = extension alias
 bar = exchange alias
 


Field Summary
 
Fields inherited from class com.dyuproject.openid.ext.AxSchemaExtension.AbstractExchange
_alias
 
Constructor Summary
AxSchemaExtension.SimpleExchange(String alias, String namespace)
           
 
Method Summary
 String getNamespace()
          Gets the name space mapped with the alias.
 
Methods inherited from class com.dyuproject.openid.ext.AxSchemaExtension.AbstractExchange
getAlias, parseAndPut, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxSchemaExtension.SimpleExchange

public AxSchemaExtension.SimpleExchange(String alias,
                                        String namespace)
Method Detail

getNamespace

public String getNamespace()
Description copied from class: AxSchemaExtension.AbstractExchange
Gets the name space mapped with the alias.

Specified by:
getNamespace in class AxSchemaExtension.AbstractExchange


Copyright © 2008-2013. All Rights Reserved.