public class UsersAttributesFileClaimsHandler extends Object implements org.apache.cxf.sts.claims.ClaimsHandler, SystemHighAttributes
Constructor and Description |
---|
UsersAttributesFileClaimsHandler() |
Modifier and Type | Method and Description |
---|---|
List<URI> |
getSupportedClaimTypes() |
Set<String> |
getValues(String attributeName) |
void |
init() |
org.apache.cxf.sts.claims.ProcessedClaimCollection |
retrieveClaimValues(org.apache.cxf.rt.security.claims.ClaimCollection claimCollection,
org.apache.cxf.sts.claims.ClaimsParameters claimsParameters) |
void |
setUsersAttributesFileLocation(String usersAttributesFileLocation) |
public void init()
IllegalStateException
- when the users attributes file cannot be read or when the
contents do meet assumptions. See the documentation section "Updating System Users" for
details about the contents of the users attribute file.public List<URI> getSupportedClaimTypes()
getSupportedClaimTypes
in interface org.apache.cxf.sts.claims.ClaimsHandler
public org.apache.cxf.sts.claims.ProcessedClaimCollection retrieveClaimValues(org.apache.cxf.rt.security.claims.ClaimCollection claimCollection, org.apache.cxf.sts.claims.ClaimsParameters claimsParameters)
retrieveClaimValues
in interface org.apache.cxf.sts.claims.ClaimsHandler
public Set<String> getValues(String attributeName)
getValues
in interface SystemHighAttributes
Set
if the attribute has single value, a multi-valued
Set
if the attribute has multiple values, or an empty Set
if the attribute is not presentpublic void setUsersAttributesFileLocation(String usersAttributesFileLocation)
This work is licensed under a Creative Commons Attribution 4.0 International License.