public interface PrincipalProvider extends javax.servlet.Filter
The ServletContainerAuthenticationProvider's principalProviders set may be configured with zero or more instances of implementations of this interface, which it will consult during authentication. The union of the results will be assigned to the FEDORA_ALL_PRINCIPALS session attribute.
HttpHeaderPrincipalProvider
Modifier and Type | Method and Description |
---|---|
Set<Principal> |
getPrincipals(javax.servlet.http.HttpServletRequest request)
Extract principals from the provided HttpServletRequest.
|
Set<Principal> getPrincipals(javax.servlet.http.HttpServletRequest request)
If no principals can be extracted, implementations of this method should return the empty set rather than null.
request
- the requestCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.