Oliver Wulff created CXF-5010:
---------------------------------
Summary: Add customizable request logging capability to STS
Key: CXF-5010
URL: https://issues.apache.org/jira/browse/CXF-5010
Project: CXF
Issue Type: New Feature
Components: STS
Reporter: Oliver Wulff
Assignee: Oliver Wulff
Fix For: 2.8.0, 2.7.6
As discussed in [1] add an customizable logging mechanism in the STS thus you
can log every successful or failed request. The log message should be
customizable what kind of context information should be logged like:
- issue/validate/...
- FAILED/SUCCESS
- principal
- appliesto
- token type
- exception
- ...
The Spring eventing mechanism provides an easy way in adding event handling.
The event provides all context information like TokenProviderParameters or
TokenValidatorParameters, etc for processing.
A default implementation is provided which uses the CXF Logging API to log the
information to a file (or what is configured).
If you want to change the logging you can just configure a spring bean which
implements the Spring ApplicationListener.
[1]
http://cxf.547215.n5.nabble.com/Audit-log-in-CXF-STS-using-ApplicationEventPublisher-td5727425.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira