Class DefaultSTSAttributeProvider
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.DefaultSTSAttributeProvider
-
- All Implemented Interfaces:
STSAttributeProvider
public class DefaultSTSAttributeProvider extends Object implements STSAttributeProvider
- Author:
- Jiandong Guo
-
-
Field Summary
-
Fields inherited from interface com.sun.xml.ws.api.security.trust.STSAttributeProvider
NAME_IDENTIFIER
-
-
Constructor Summary
Constructors Constructor Description DefaultSTSAttributeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<QName,List<String>>getClaimedAttributes(Subject subject, String appliesTo, String tokenType, Claims claims)Returns the map of claimed attributes of the requestor apply to the targeted service.
-
-
-
Method Detail
-
getClaimedAttributes
public Map<QName,List<String>> getClaimedAttributes(Subject subject, String appliesTo, String tokenType, Claims claims)
Description copied from interface:STSAttributeProviderReturns the map of claimed attributes of the requestor apply to the targeted service.- Specified by:
getClaimedAttributesin interfaceSTSAttributeProvider- Parameters:
subject- TheSubjectcontgaining authentication information and context of the authenticated requestor.appliesTo- Identifying target service(s)tokenType- Type of token to be issued which will contain these attributes.- Returns:
- map of attribut key and values. The key of the map is a
QNamecontains the key name the the name space for the key. The value of the map is aListofStringcontains a list of the values. One particular value with the requestor identity to be in the issued token with key nameNAME_IDENTIFIERmust be in the map.
-
-