Log Information Specific to SSO using SAML SSO Web Profile

To enable the logging of SSO using SAML SSO web profile specific information, set the org.springframework.security.saml.log logger for runtime node.

Sample logs:

Sample logs when logger is set to INFO level.

08 Jan 2019 21:34:40,175 [httpConnector_10] [INFO ] [com.tibco.amx.platform] org.springframework.security.saml.log.SAMLDefaultLogger - AuthNResponse;SUCCESS;0:0:0:0:0:0:0:1;https://localhost:9895/saml/saml/metadata;http://WIN-CL1.openid.amx.com/adfs/services/trust;test@openid.amx.com;;
08 Jan 2019 21:34:40,176 [httpConnector_10] [DEBUG] [com.tibco.amx.platform] com.tibco.amx.ra.trinity - Cannot invoke destroyConnection on class com.tibco.amf.hpa.tibcohost.jca.TibcoHostGenericConnectionManager as this is not supported.
08 Jan 2019 21:34:40,179 [httpConnector_10] [DEBUG] [com.tibco.amx.platform] com.tibco.amx.ra.trinity - Cannot invoke destroyConnection on class com.tibco.amf.hpa.tibcohost.jca.TibcoHostGenericConnectionManager as this is not supported.
08 Jan 2019 21:34:40,306 [httpConnector_10] [WARN ] [com.tibco.amx.platform] org.springframework.security.saml.metadata.MetadataGeneratorFilter - Generated default entity base URL https://localhost:9895/saml based on values in the first server request. Please set property entityBaseURL on MetadataGenerator bean to fixate the value.
08 Jan 2019 21:34:40,308 [httpConnector_10] [DEBUG] [com.tibco.amx.platform] com.tibco.amx.ra.identity - Initialized com.tibco.trinity.runtime.core.provider.identity.subject.SAMLSubjectBuilderFactory@2dbf9ad1 with no trust store.
08 Jan 2019 21:34:40,310 [httpConnector_10] [DEBUG] [com.tibco.amx.platform] com.tibco.amx.ra.trinity - Cannot invoke destroyConnection on class com.tibco.amf.hpa.tibcohost.jca.TibcoHostGenericConnectionManager as this is not supported.
08 Jan 2019 21:34:40,311 [httpConnector_10] [INFO ] [com.tibco.amx.platform] com.tibco.amx.login.success - TIBCO-OGS_PA-901431: Request is successfully authenticated. Properties - [ RemoteHost=0:0:0:0:0:0:0:1, RequestURI=/saml/landing, RemoteAddr=0:0:0:0:0:0:0:1 ]
08 Jan 2019 21:34:48,485 [httpConnector_10] [DEBUG] [com.tibco.amx.platform] com.tibco.amx.ra.trinity - Cannot invoke destroyConnection on class com.tibco.amf.hpa.tibcohost.jca.TibcoHostGenericConnectionManager as this is not supported.
08 Jan 2019 21:34:48,715 [httpConnector_10] [WARN ] [com.tibco.amx.platform] org.springframework.security.saml.metadata.MetadataGeneratorFilter - Generated default entity base URL https://localhost:9895/saml based on values in the first server request. Please set property entityBaseURL on MetadataGenerator bean to fixate the value.
08 Jan 2019 21:34:48,717 [httpConnector_10] [DEBUG] [com.tibco.amx.platform] com.tibco.amx.ra.identity - Initialized com.tibco.trinity.runtime.core.provider.identity.subject.SAMLSubjectBuilderFactory@856a6e1 with no trust store.