public class DefaultClaimsRetriever extends Object implements ClaimsRetriever
CLAIMS_RETRIEVER_IMPL_CLASS, CONSUMER_DIALECT_URI, DEFAULT_DIALECT_URI| Constructor and Description |
|---|
DefaultClaimsRetriever() |
| Modifier and Type | Method and Description |
|---|---|
SortedMap<String,String> |
getClaims(String endUserName)
Method that retrieves user claims
|
protected javax.cache.Cache |
getClaimsLocalCache() |
String |
getDialectURI(String endUserName)
Always returns the ConsumerDialectURI configured in app-manager.xml
|
void |
init()
Reads the DialectURI of the ClaimURIs to be retrieved from app-manager.xml ->
AppConsumerAuthConfiguration -> ConsumerDialectURI.
|
public void init()
init in interface ClaimsRetrieverprotected javax.cache.Cache getClaimsLocalCache()
public SortedMap<String,String> getClaims(String endUserName) throws org.wso2.carbon.appmgt.api.AppManagementException
ClaimsRetrievergetClaims in interface ClaimsRetrieverorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic String getDialectURI(String endUserName)
getDialectURI in interface ClaimsRetrieverCopyright © 2017 WSO2. All rights reserved.