|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dyuproject.openid.ext.AxSchemaExtension.AbstractExchange
public abstract static class AxSchemaExtension.AbstractExchange
Base class for an axschema exchange which requires a namespace for each field.
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 | |
---|---|
protected String |
_alias
|
Constructor Summary | |
---|---|
AxSchemaExtension.AbstractExchange(String alias)
|
Method Summary | |
---|---|
String |
getAlias()
Gets the alias of this exchange. |
abstract String |
getNamespace()
Gets the name space mapped with the alias . |
void |
parseAndPut(OpenIdUser user,
HttpServletRequest request,
Map<String,String> attributes,
String extensionAlias)
Parses a single field parameter as a response from the user's openid provider and puts it in the attributes map. |
void |
put(OpenIdUser user,
HttpServletRequest request,
UrlEncodedParameterMap params,
String extensionAlias)
Puts a single field parameter on the params to be included in the request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final String _alias
Constructor Detail |
---|
public AxSchemaExtension.AbstractExchange(String alias)
Method Detail |
---|
public final String getAlias()
Extension.Exchange
getAlias
in interface Extension.Exchange
public void put(OpenIdUser user, HttpServletRequest request, UrlEncodedParameterMap params, String extensionAlias)
Extension.Exchange
params
to be included in the request.
put
in interface Extension.Exchange
public void parseAndPut(OpenIdUser user, HttpServletRequest request, Map<String,String> attributes, String extensionAlias)
Extension.Exchange
attributes
map.
parseAndPut
in interface Extension.Exchange
public abstract String getNamespace()
alias
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |