public abstract class AbstractIdentityAssertionFilter extends AbstractIdentityAssertionBase implements javax.servlet.Filter
| Constructor and Description |
|---|
AbstractIdentityAssertionFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
continueChainAsPrincipal(javax.servlet.http.HttpServletRequestWrapper request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain,
String mappedPrincipalName,
String[] groups) |
abstract String[] |
mapGroupPrincipals(String mappedPrincipalName,
Subject subject)
This method returns a Stringp[] of new group principal names to use
based on implementation specific mapping or lookup mechanisms.
|
abstract String |
mapUserPrincipal(String principalName)
This method is used to map the username of the authenticated identity to some other
principal name based on an implementation specific mechanism.
|
getPrincipalNamepublic abstract String[] mapGroupPrincipals(String mappedPrincipalName, Subject subject)
mappedPrincipalName - username for the authenticated identity - post mapUserPrincipal mapping.subject - the existing Subject from the authentication event which may or may not contain GroupPrincipals.public abstract String mapUserPrincipal(String principalName)
principalName - protected void continueChainAsPrincipal(javax.servlet.http.HttpServletRequestWrapper request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain,
String mappedPrincipalName,
String[] groups)
throws IOException,
javax.servlet.ServletException
request - response - chain - mappedPrincipalName - groups - IOExceptionjavax.servlet.ServletExceptionCopyright © 2018 Apache Software Foundation. All rights reserved.