Class DefaultPicketLinkLogger
- java.lang.Object
-
- org.keycloak.saml.common.DefaultPicketLinkLogger
-
- All Implemented Interfaces:
PicketLinkLogger
public class DefaultPicketLinkLogger extends Object implements PicketLinkLogger
- Author:
- Pedro Silva
-
-
Method Summary
-
-
-
Method Detail
-
info
public void info(String message)
- Specified by:
info
in interfacePicketLinkLogger
-
debug
public void debug(String message)
- Specified by:
debug
in interfacePicketLinkLogger
-
trace
public void trace(String message)
- Specified by:
trace
in interfacePicketLinkLogger
-
trace
public void trace(String message, Throwable t)
- Specified by:
trace
in interfacePicketLinkLogger
-
trace
public void trace(Throwable t)
- Specified by:
trace
in interfacePicketLinkLogger
-
error
public void error(Throwable t)
- Specified by:
error
in interfacePicketLinkLogger
-
nullArgumentError
public IllegalArgumentException nullArgumentError(String argument)
Description copied from interface:PicketLinkLogger
Creates an
IllegalArgumentException
for null arguments.- Specified by:
nullArgumentError
in interfacePicketLinkLogger
- Returns:
-
shouldNotBeTheSameError
public IllegalArgumentException shouldNotBeTheSameError(String string)
Description copied from interface:PicketLinkLogger
Creates an
IllegalArgumentException
for arguments that should not be the same.- Specified by:
shouldNotBeTheSameError
in interfacePicketLinkLogger
- Returns:
-
resourceNotFound
public ProcessingException resourceNotFound(String resource)
Description copied from interface:PicketLinkLogger
Creates an
ProcessingException
for resources that are not found.- Specified by:
resourceNotFound
in interfacePicketLinkLogger
- Returns:
-
processingError
public ProcessingException processingError(Throwable t)
Description copied from interface:PicketLinkLogger
Creates an
ProcessingException
for generics processing errors.- Specified by:
processingError
in interfacePicketLinkLogger
- Returns:
-
unsupportedType
public RuntimeException unsupportedType(String name)
Description copied from interface:PicketLinkLogger
Creates an
RuntimeException
for not supported types.- Specified by:
unsupportedType
in interfacePicketLinkLogger
- Returns:
-
signatureError
public XMLSignatureException signatureError(Throwable e)
Description copied from interface:PicketLinkLogger
Creates a
ProcessingException
for exceptions raised during signature processing.- Specified by:
signatureError
in interfacePicketLinkLogger
- Returns:
-
nullValueError
public RuntimeException nullValueError(String nullValue)
Description copied from interface:PicketLinkLogger
Creates a
RuntimeException
for null values.- Specified by:
nullValueError
in interfacePicketLinkLogger
- Returns:
-
notImplementedYet
public RuntimeException notImplementedYet(String feature)
Description copied from interface:PicketLinkLogger
Creates a
RuntimeException
for not implemented methods or features.- Specified by:
notImplementedYet
in interfacePicketLinkLogger
- Returns:
-
auditNullAuditManager
public IllegalStateException auditNullAuditManager()
Description copied from interface:PicketLinkLogger
Creates a
IllegalStateException
for the case the Audit Manager is null.- Specified by:
auditNullAuditManager
in interfacePicketLinkLogger
- Returns:
-
isInfoEnabled
public boolean isInfoEnabled()
Description copied from interface:PicketLinkLogger
Indicates if the logging level is set to INFO.
- Specified by:
isInfoEnabled
in interfacePicketLinkLogger
- Returns:
-
auditEvent
public void auditEvent(String auditEvent)
Description copied from interface:PicketLinkLogger
Logs a PicketLink Audit Event.
- Specified by:
auditEvent
in interfacePicketLinkLogger
-
injectedValueMissing
public RuntimeException injectedValueMissing(String value)
Description copied from interface:PicketLinkLogger
Creates a
RuntimeException
for missing values.- Specified by:
injectedValueMissing
in interfacePicketLinkLogger
- Returns:
-
keyStoreSetup
public void keyStoreSetup()
Description copied from interface:PicketLinkLogger
Logs a message during the KeyStore setup.
- Specified by:
keyStoreSetup
in interfacePicketLinkLogger
-
keyStoreNullStore
public IllegalStateException keyStoreNullStore()
Description copied from interface:PicketLinkLogger
Creates a
IllegalStateException
for the case where the KeyStore is null.- Specified by:
keyStoreNullStore
in interfacePicketLinkLogger
- Returns:
-
keyStoreNullPublicKeyForAlias
public void keyStoreNullPublicKeyForAlias(String alias)
Description copied from interface:PicketLinkLogger
Logs a message for the cases where no public key was found for a given alias.
- Specified by:
keyStoreNullPublicKeyForAlias
in interfacePicketLinkLogger
-
keyStoreConfigurationError
public TrustKeyConfigurationException keyStoreConfigurationError(Throwable t)
Description copied from interface:PicketLinkLogger
Creates a
TrustKeyConfigurationException
for exceptions raised during the KeyStore configuration.- Specified by:
keyStoreConfigurationError
in interfacePicketLinkLogger
- Returns:
-
keyStoreProcessingError
public TrustKeyProcessingException keyStoreProcessingError(Throwable t)
Description copied from interface:PicketLinkLogger
Creates a
TrustKeyConfigurationException
for exceptions raised during the KeyStore processing.- Specified by:
keyStoreProcessingError
in interfacePicketLinkLogger
- Returns:
-
keyStoreMissingDomainAlias
public IllegalStateException keyStoreMissingDomainAlias(String domain)
- Specified by:
keyStoreMissingDomainAlias
in interfacePicketLinkLogger
- Returns:
-
keyStoreNullSigningKeyPass
public RuntimeException keyStoreNullSigningKeyPass()
Description copied from interface:PicketLinkLogger
Creates a
RuntimeException
for the case where the signing key password is null.- Specified by:
keyStoreNullSigningKeyPass
in interfacePicketLinkLogger
- Returns:
-
keyStoreNullEncryptionKeyPass
public RuntimeException keyStoreNullEncryptionKeyPass()
- Specified by:
keyStoreNullEncryptionKeyPass
in interfacePicketLinkLogger
-
keyStoreNotLocated
public RuntimeException keyStoreNotLocated(String keyStore)
Description copied from interface:PicketLinkLogger
Creates a
RuntimeException
for the case where key store are not located.- Specified by:
keyStoreNotLocated
in interfacePicketLinkLogger
- Returns:
-
keyStoreNullAlias
public IllegalStateException keyStoreNullAlias()
Description copied from interface:PicketLinkLogger
Creates a
IllegalStateException
for the case where the alias is null.- Specified by:
keyStoreNullAlias
in interfacePicketLinkLogger
- Returns:
-
parserUnknownEndElement
public RuntimeException parserUnknownEndElement(String endElementName, Location location)
Description copied from interface:PicketLinkLogger
Creates a
RuntimeException
for the case where parser founds a unknown end element.- Specified by:
parserUnknownEndElement
in interfacePicketLinkLogger
- Returns:
-
parserUnknownTag
public RuntimeException parserUnknownTag(String tag, Location location)
- Specified by:
parserUnknownTag
in interfacePicketLinkLogger
- Returns:
-
parserRequiredAttribute
public ParsingException parserRequiredAttribute(String string)
- Specified by:
parserRequiredAttribute
in interfacePicketLinkLogger
- Returns:
-
parserUnknownStartElement
public RuntimeException parserUnknownStartElement(String elementName, Location location)
- Specified by:
parserUnknownStartElement
in interfacePicketLinkLogger
- Returns:
-
parserNullStartElement
public IllegalStateException parserNullStartElement()
- Specified by:
parserNullStartElement
in interfacePicketLinkLogger
- Returns:
-
parserUnknownXSI
public ParsingException parserUnknownXSI(String xsiTypeValue)
- Specified by:
parserUnknownXSI
in interfacePicketLinkLogger
- Returns:
-
parserExpectedEndTag
public ParsingException parserExpectedEndTag(String tagName)
- Specified by:
parserExpectedEndTag
in interfacePicketLinkLogger
- Returns:
-
parserException
public ParsingException parserException(Throwable t)
- Specified by:
parserException
in interfacePicketLinkLogger
- Returns:
-
parserExpectedTextValue
public ParsingException parserExpectedTextValue(String string)
- Specified by:
parserExpectedTextValue
in interfacePicketLinkLogger
- Returns:
-
parserExpectedXSI
public RuntimeException parserExpectedXSI(String expectedXsi)
- Specified by:
parserExpectedXSI
in interfacePicketLinkLogger
- Returns:
-
parserExpectedTag
public RuntimeException parserExpectedTag(String tag, String foundElementTag)
- Specified by:
parserExpectedTag
in interfacePicketLinkLogger
- Returns:
-
parserExpectedNamespace
public RuntimeException parserExpectedNamespace(String ns, String foundElementNs)
- Specified by:
parserExpectedNamespace
in interfacePicketLinkLogger
- Returns:
-
parserFailed
public RuntimeException parserFailed(String elementName)
- Specified by:
parserFailed
in interfacePicketLinkLogger
- Returns:
-
parserUnableParsingNullToken
public ParsingException parserUnableParsingNullToken()
- Specified by:
parserUnableParsingNullToken
in interfacePicketLinkLogger
- Returns:
-
parserError
public ParsingException parserError(Throwable t)
- Specified by:
parserError
in interfacePicketLinkLogger
- Returns:
-
xacmlPDPMessageProcessingError
public RuntimeException xacmlPDPMessageProcessingError(Throwable t)
- Specified by:
xacmlPDPMessageProcessingError
in interfacePicketLinkLogger
- Returns:
-
fileNotLocated
public IllegalStateException fileNotLocated(String policyConfigFileName)
- Specified by:
fileNotLocated
in interfacePicketLinkLogger
- Returns:
-
optionNotSet
public IllegalStateException optionNotSet(String option)
- Specified by:
optionNotSet
in interfacePicketLinkLogger
- Returns:
-
stsTokenRegistryNotSpecified
public void stsTokenRegistryNotSpecified()
- Specified by:
stsTokenRegistryNotSpecified
in interfacePicketLinkLogger
-
stsTokenRegistryInvalidType
public void stsTokenRegistryInvalidType(String tokenRegistryOption)
- Specified by:
stsTokenRegistryInvalidType
in interfacePicketLinkLogger
-
stsTokenRegistryInstantiationError
public void stsTokenRegistryInstantiationError()
- Specified by:
stsTokenRegistryInstantiationError
in interfacePicketLinkLogger
-
stsRevocationRegistryNotSpecified
public void stsRevocationRegistryNotSpecified()
- Specified by:
stsRevocationRegistryNotSpecified
in interfacePicketLinkLogger
-
stsRevocationRegistryInvalidType
public void stsRevocationRegistryInvalidType(String registryOption)
- Specified by:
stsRevocationRegistryInvalidType
in interfacePicketLinkLogger
-
stsRevocationRegistryInstantiationError
public void stsRevocationRegistryInstantiationError()
- Specified by:
stsRevocationRegistryInstantiationError
in interfacePicketLinkLogger
-
samlAssertionExpiredError
public ProcessingException samlAssertionExpiredError()
- Specified by:
samlAssertionExpiredError
in interfacePicketLinkLogger
- Returns:
-
assertionInvalidError
public ProcessingException assertionInvalidError()
- Specified by:
assertionInvalidError
in interfacePicketLinkLogger
- Returns:
-
writerUnknownTypeError
public RuntimeException writerUnknownTypeError(String name)
- Specified by:
writerUnknownTypeError
in interfacePicketLinkLogger
- Returns:
-
writerNullValueError
public ProcessingException writerNullValueError(String value)
- Specified by:
writerNullValueError
in interfacePicketLinkLogger
- Returns:
-
writerUnsupportedAttributeValueError
public RuntimeException writerUnsupportedAttributeValueError(String value)
- Specified by:
writerUnsupportedAttributeValueError
in interfacePicketLinkLogger
- Returns:
-
issuerInfoMissingStatusCodeError
public IllegalArgumentException issuerInfoMissingStatusCodeError()
- Specified by:
issuerInfoMissingStatusCodeError
in interfacePicketLinkLogger
- Returns:
-
classNotLoadedError
public ProcessingException classNotLoadedError(String fqn)
- Specified by:
classNotLoadedError
in interfacePicketLinkLogger
- Returns:
-
couldNotCreateInstance
public ProcessingException couldNotCreateInstance(String fqn, Throwable t)
- Specified by:
couldNotCreateInstance
in interfacePicketLinkLogger
- Returns:
-
systemPropertyMissingError
public RuntimeException systemPropertyMissingError(String property)
- Specified by:
systemPropertyMissingError
in interfacePicketLinkLogger
- Returns:
-
samlMetaDataIdentityProviderLoadingError
public void samlMetaDataIdentityProviderLoadingError(Throwable t)
- Specified by:
samlMetaDataIdentityProviderLoadingError
in interfacePicketLinkLogger
-
samlMetaDataServiceProviderLoadingError
public void samlMetaDataServiceProviderLoadingError(Throwable t)
- Specified by:
samlMetaDataServiceProviderLoadingError
in interfacePicketLinkLogger
-
signatureAssertionValidationError
public void signatureAssertionValidationError(Throwable t)
- Specified by:
signatureAssertionValidationError
in interfacePicketLinkLogger
-
samlAssertionExpired
public void samlAssertionExpired(String id)
- Specified by:
samlAssertionExpired
in interfacePicketLinkLogger
-
unknownObjectType
public RuntimeException unknownObjectType(Object attrValue)
- Specified by:
unknownObjectType
in interfacePicketLinkLogger
- Returns:
-
configurationError
public ConfigurationException configurationError(Throwable t)
- Specified by:
configurationError
in interfacePicketLinkLogger
- Returns:
-
signatureUnknownAlgo
public RuntimeException signatureUnknownAlgo(String algo)
- Specified by:
signatureUnknownAlgo
in interfacePicketLinkLogger
- Returns:
-
invalidArgumentError
public IllegalArgumentException invalidArgumentError(String message)
- Specified by:
invalidArgumentError
in interfacePicketLinkLogger
- Returns:
-
stsNoTokenProviderError
public ProcessingException stsNoTokenProviderError(String configuration, String protocolContext)
- Specified by:
stsNoTokenProviderError
in interfacePicketLinkLogger
- Returns:
-
stsConfigurationFileNotFoundTCL
public void stsConfigurationFileNotFoundTCL(String fileName)
- Specified by:
stsConfigurationFileNotFoundTCL
in interfacePicketLinkLogger
-
stsConfigurationFileNotFoundClassLoader
public void stsConfigurationFileNotFoundClassLoader(String fileName)
- Specified by:
stsConfigurationFileNotFoundClassLoader
in interfacePicketLinkLogger
-
stsUsingDefaultConfiguration
public void stsUsingDefaultConfiguration(String fileName)
- Specified by:
stsUsingDefaultConfiguration
in interfacePicketLinkLogger
-
stsConfigurationFileLoaded
public void stsConfigurationFileLoaded(String fileName)
- Specified by:
stsConfigurationFileLoaded
in interfacePicketLinkLogger
-
stsConfigurationFileParsingError
public ConfigurationException stsConfigurationFileParsingError(Throwable t)
- Specified by:
stsConfigurationFileParsingError
in interfacePicketLinkLogger
- Returns:
-
notSerializableError
public IOException notSerializableError(String message)
- Specified by:
notSerializableError
in interfacePicketLinkLogger
- Returns:
-
trustKeyManagerCreationError
public void trustKeyManagerCreationError(Throwable t)
- Specified by:
trustKeyManagerCreationError
in interfacePicketLinkLogger
-
error
public void error(String message)
- Specified by:
error
in interfacePicketLinkLogger
-
xmlCouldNotGetSchema
public void xmlCouldNotGetSchema(Throwable t)
- Specified by:
xmlCouldNotGetSchema
in interfacePicketLinkLogger
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interfacePicketLinkLogger
- Returns:
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfacePicketLinkLogger
- Returns:
-
jceProviderCouldNotBeLoaded
public void jceProviderCouldNotBeLoaded(String name, Throwable t)
- Specified by:
jceProviderCouldNotBeLoaded
in interfacePicketLinkLogger
-
writerInvalidKeyInfoNullContentError
public ProcessingException writerInvalidKeyInfoNullContentError()
- Specified by:
writerInvalidKeyInfoNullContentError
in interfacePicketLinkLogger
- Returns:
-
notEqualError
public RuntimeException notEqualError(String first, String second)
- Specified by:
notEqualError
in interfacePicketLinkLogger
- Returns:
-
wrongTypeError
public IllegalArgumentException wrongTypeError(String message)
- Specified by:
wrongTypeError
in interfacePicketLinkLogger
- Returns:
-
encryptUnknownAlgoError
public RuntimeException encryptUnknownAlgoError(String certAlgo)
- Specified by:
encryptUnknownAlgoError
in interfacePicketLinkLogger
- Returns:
-
domMissingDocElementError
public IllegalStateException domMissingDocElementError(String element)
- Specified by:
domMissingDocElementError
in interfacePicketLinkLogger
- Returns:
-
domMissingElementError
public IllegalStateException domMissingElementError(String element)
- Specified by:
domMissingElementError
in interfacePicketLinkLogger
- Returns:
-
stsWSInvalidTokenRequestError
public javax.xml.ws.WebServiceException stsWSInvalidTokenRequestError()
- Specified by:
stsWSInvalidTokenRequestError
in interfacePicketLinkLogger
- Returns:
-
stsWSError
public javax.xml.ws.WebServiceException stsWSError(Throwable t)
- Specified by:
stsWSError
in interfacePicketLinkLogger
- Returns:
-
stsWSConfigurationError
public javax.xml.ws.WebServiceException stsWSConfigurationError(Throwable t)
- Specified by:
stsWSConfigurationError
in interfacePicketLinkLogger
- Returns:
-
stsWSInvalidRequestTypeError
public WSTrustException stsWSInvalidRequestTypeError(String requestType)
- Specified by:
stsWSInvalidRequestTypeError
in interfacePicketLinkLogger
- Returns:
-
stsWSHandlingTokenRequestError
public javax.xml.ws.WebServiceException stsWSHandlingTokenRequestError(Throwable t)
- Specified by:
stsWSHandlingTokenRequestError
in interfacePicketLinkLogger
- Returns:
-
stsWSResponseWritingError
public javax.xml.ws.WebServiceException stsWSResponseWritingError(Throwable t)
- Specified by:
stsWSResponseWritingError
in interfacePicketLinkLogger
- Returns:
-
stsUnableToConstructKeyManagerError
public RuntimeException stsUnableToConstructKeyManagerError(Throwable t)
- Specified by:
stsUnableToConstructKeyManagerError
in interfacePicketLinkLogger
- Returns:
-
stsPublicKeyError
public RuntimeException stsPublicKeyError(String serviceName, Throwable t)
- Specified by:
stsPublicKeyError
in interfacePicketLinkLogger
- Returns:
-
stsSigningKeyPairError
public RuntimeException stsSigningKeyPairError(Throwable t)
- Specified by:
stsSigningKeyPairError
in interfacePicketLinkLogger
- Returns:
-
stsPublicKeyCertError
public RuntimeException stsPublicKeyCertError(Throwable t)
- Specified by:
stsPublicKeyCertError
in interfacePicketLinkLogger
- Returns:
-
stsTokenTimeoutNotSpecified
public void stsTokenTimeoutNotSpecified()
- Specified by:
stsTokenTimeoutNotSpecified
in interfacePicketLinkLogger
-
wsTrustCombinedSecretKeyError
public WSTrustException wsTrustCombinedSecretKeyError(Throwable t)
- Specified by:
wsTrustCombinedSecretKeyError
in interfacePicketLinkLogger
- Returns:
-
wsTrustClientPublicKeyError
public WSTrustException wsTrustClientPublicKeyError()
- Specified by:
wsTrustClientPublicKeyError
in interfacePicketLinkLogger
- Returns:
-
stsError
public WSTrustException stsError(Throwable t)
- Specified by:
stsError
in interfacePicketLinkLogger
- Returns:
-
signatureInvalidError
public XMLSignatureException signatureInvalidError(String message, Throwable t)
- Specified by:
signatureInvalidError
in interfacePicketLinkLogger
- Returns:
-
stsSecurityTokenSignatureNotVerified
public void stsSecurityTokenSignatureNotVerified()
- Specified by:
stsSecurityTokenSignatureNotVerified
in interfacePicketLinkLogger
-
encryptProcessError
public RuntimeException encryptProcessError(Throwable t)
- Specified by:
encryptProcessError
in interfacePicketLinkLogger
- Returns:
-
stsSecurityTokenShouldBeEncrypted
public void stsSecurityTokenShouldBeEncrypted()
- Specified by:
stsSecurityTokenShouldBeEncrypted
in interfacePicketLinkLogger
-
unableToDecodePasswordError
public RuntimeException unableToDecodePasswordError(String password)
- Specified by:
unableToDecodePasswordError
in interfacePicketLinkLogger
- Returns:
-
couldNotLoadProperties
public IllegalStateException couldNotLoadProperties(String configFile)
- Specified by:
couldNotLoadProperties
in interfacePicketLinkLogger
- Returns:
-
stsKeyInfoTypeCreationError
public WSTrustException stsKeyInfoTypeCreationError(Throwable t)
- Specified by:
stsKeyInfoTypeCreationError
in interfacePicketLinkLogger
- Returns:
-
stsSecretKeyNotEncrypted
public void stsSecretKeyNotEncrypted()
- Specified by:
stsSecretKeyNotEncrypted
in interfacePicketLinkLogger
-
authCouldNotIssueSAMLToken
public LoginException authCouldNotIssueSAMLToken()
- Specified by:
authCouldNotIssueSAMLToken
in interfacePicketLinkLogger
- Returns:
-
authLoginError
public LoginException authLoginError(Throwable t)
- Specified by:
authLoginError
in interfacePicketLinkLogger
- Returns:
-
authCouldNotCreateWSTrustClient
public IllegalStateException authCouldNotCreateWSTrustClient(Throwable t)
- Specified by:
authCouldNotCreateWSTrustClient
in interfacePicketLinkLogger
- Returns:
-
samlAssertionWithoutExpiration
public void samlAssertionWithoutExpiration(String id)
- Specified by:
samlAssertionWithoutExpiration
in interfacePicketLinkLogger
-
authCouldNotValidateSAMLToken
public LoginException authCouldNotValidateSAMLToken(Element token)
- Specified by:
authCouldNotValidateSAMLToken
in interfacePicketLinkLogger
- Returns:
-
authCouldNotLocateSecurityToken
public LoginException authCouldNotLocateSecurityToken()
- Specified by:
authCouldNotLocateSecurityToken
in interfacePicketLinkLogger
- Returns:
-
wsTrustNullCancelTargetError
public ProcessingException wsTrustNullCancelTargetError()
- Specified by:
wsTrustNullCancelTargetError
in interfacePicketLinkLogger
- Returns:
-
samlAssertionMarshallError
public ProcessingException samlAssertionMarshallError(Throwable t)
- Specified by:
samlAssertionMarshallError
in interfacePicketLinkLogger
- Returns:
-
wsTrustNullRenewTargetError
public ProcessingException wsTrustNullRenewTargetError()
- Specified by:
wsTrustNullRenewTargetError
in interfacePicketLinkLogger
- Returns:
-
samlAssertionUnmarshallError
public ProcessingException samlAssertionUnmarshallError(Throwable t)
- Specified by:
samlAssertionUnmarshallError
in interfacePicketLinkLogger
- Returns:
-
samlAssertionRevokedCouldNotRenew
public ProcessingException samlAssertionRevokedCouldNotRenew(String id)
- Specified by:
samlAssertionRevokedCouldNotRenew
in interfacePicketLinkLogger
- Returns:
-
wsTrustNullValidationTargetError
public ProcessingException wsTrustNullValidationTargetError()
- Specified by:
wsTrustNullValidationTargetError
in interfacePicketLinkLogger
- Returns:
-
stsWrongAttributeProviderTypeNotInstalled
public void stsWrongAttributeProviderTypeNotInstalled(String attributeProviderClassName)
- Specified by:
stsWrongAttributeProviderTypeNotInstalled
in interfacePicketLinkLogger
-
attributeProviderInstationError
public void attributeProviderInstationError(Throwable t)
- Specified by:
attributeProviderInstationError
in interfacePicketLinkLogger
-
samlAssertion
public void samlAssertion(String nodeAsString)
- Specified by:
samlAssertion
in interfacePicketLinkLogger
-
wsTrustUnableToGetDataTypeFactory
public RuntimeException wsTrustUnableToGetDataTypeFactory(Throwable t)
- Specified by:
wsTrustUnableToGetDataTypeFactory
in interfacePicketLinkLogger
- Returns:
-
wsTrustValidationStatusCodeMissing
public ProcessingException wsTrustValidationStatusCodeMissing()
- Specified by:
wsTrustValidationStatusCodeMissing
in interfacePicketLinkLogger
- Returns:
-
samlIdentityServerActiveSessionCount
public void samlIdentityServerActiveSessionCount(int activeSessionCount)
- Specified by:
samlIdentityServerActiveSessionCount
in interfacePicketLinkLogger
-
samlIdentityServerSessionCreated
public void samlIdentityServerSessionCreated(String id, int activeSessionCount)
- Specified by:
samlIdentityServerSessionCreated
in interfacePicketLinkLogger
-
samlIdentityServerSessionDestroyed
public void samlIdentityServerSessionDestroyed(String id, int activeSessionCount)
- Specified by:
samlIdentityServerSessionDestroyed
in interfacePicketLinkLogger
-
unknowCredentialType
public RuntimeException unknowCredentialType(String name)
- Specified by:
unknowCredentialType
in interfacePicketLinkLogger
- Returns:
-
samlHandlerRoleGeneratorSetupError
public void samlHandlerRoleGeneratorSetupError(Throwable t)
- Specified by:
samlHandlerRoleGeneratorSetupError
in interfacePicketLinkLogger
-
samlHandlerAssertionNotFound
public RuntimeException samlHandlerAssertionNotFound()
- Specified by:
samlHandlerAssertionNotFound
in interfacePicketLinkLogger
- Returns:
-
samlHandlerAuthnRequestIsNull
public ProcessingException samlHandlerAuthnRequestIsNull()
- Specified by:
samlHandlerAuthnRequestIsNull
in interfacePicketLinkLogger
- Returns:
-
samlHandlerAuthenticationError
public void samlHandlerAuthenticationError(Throwable t)
- Specified by:
samlHandlerAuthenticationError
in interfacePicketLinkLogger
-
samlHandlerNoAssertionFromIDP
public IllegalArgumentException samlHandlerNoAssertionFromIDP()
- Specified by:
samlHandlerNoAssertionFromIDP
in interfacePicketLinkLogger
- Returns:
-
samlHandlerNullEncryptedAssertion
public ProcessingException samlHandlerNullEncryptedAssertion()
- Specified by:
samlHandlerNullEncryptedAssertion
in interfacePicketLinkLogger
- Returns:
-
samlHandlerIDPAuthenticationFailedError
public SecurityException samlHandlerIDPAuthenticationFailedError()
- Specified by:
samlHandlerIDPAuthenticationFailedError
in interfacePicketLinkLogger
- Returns:
-
assertionExpiredError
public ProcessingException assertionExpiredError(AssertionExpiredException aee)
- Specified by:
assertionExpiredError
in interfacePicketLinkLogger
- Returns:
-
unsupportedRoleType
public RuntimeException unsupportedRoleType(Object attrValue)
- Specified by:
unsupportedRoleType
in interfacePicketLinkLogger
- Returns:
-
samlHandlerFailedInResponseToVerification
public void samlHandlerFailedInResponseToVerification(String inResponseTo, String authnRequestId)
- Specified by:
samlHandlerFailedInResponseToVerification
in interfacePicketLinkLogger
-
samlHandlerFailedInResponseToVerificarionError
public ProcessingException samlHandlerFailedInResponseToVerificarionError()
- Specified by:
samlHandlerFailedInResponseToVerificarionError
in interfacePicketLinkLogger
- Returns:
-
samlIssuerNotTrustedError
public IssuerNotTrustedException samlIssuerNotTrustedError(String issuer)
- Specified by:
samlIssuerNotTrustedError
in interfacePicketLinkLogger
- Returns:
-
samlIssuerNotTrustedException
public IssuerNotTrustedException samlIssuerNotTrustedException(Throwable t)
- Specified by:
samlIssuerNotTrustedException
in interfacePicketLinkLogger
- Returns:
-
samlHandlerTrustElementMissingError
public ConfigurationException samlHandlerTrustElementMissingError()
- Specified by:
samlHandlerTrustElementMissingError
in interfacePicketLinkLogger
- Returns:
-
samlHandlerIdentityServerNotFoundError
public ProcessingException samlHandlerIdentityServerNotFoundError()
- Specified by:
samlHandlerIdentityServerNotFoundError
in interfacePicketLinkLogger
- Returns:
-
samlHandlerPrincipalNotFoundError
public ProcessingException samlHandlerPrincipalNotFoundError()
- Specified by:
samlHandlerPrincipalNotFoundError
in interfacePicketLinkLogger
- Returns:
-
samlHandlerKeyPairNotFound
public void samlHandlerKeyPairNotFound()
- Specified by:
samlHandlerKeyPairNotFound
in interfacePicketLinkLogger
-
samlHandlerKeyPairNotFoundError
public ProcessingException samlHandlerKeyPairNotFoundError()
- Specified by:
samlHandlerKeyPairNotFoundError
in interfacePicketLinkLogger
- Returns:
-
samlHandlerErrorSigningRedirectBindingMessage
public void samlHandlerErrorSigningRedirectBindingMessage(Throwable t)
- Specified by:
samlHandlerErrorSigningRedirectBindingMessage
in interfacePicketLinkLogger
-
samlHandlerSigningRedirectBindingMessageError
public RuntimeException samlHandlerSigningRedirectBindingMessageError(Throwable t)
- Specified by:
samlHandlerSigningRedirectBindingMessageError
in interfacePicketLinkLogger
- Returns:
-
samlHandlerSignatureValidationFailed
public SignatureValidationException samlHandlerSignatureValidationFailed()
- Specified by:
samlHandlerSignatureValidationFailed
in interfacePicketLinkLogger
- Returns:
-
samlHandlerErrorValidatingSignature
public void samlHandlerErrorValidatingSignature(Throwable t)
- Specified by:
samlHandlerErrorValidatingSignature
in interfacePicketLinkLogger
-
samlHandlerInvalidSignatureError
public ProcessingException samlHandlerInvalidSignatureError()
- Specified by:
samlHandlerInvalidSignatureError
in interfacePicketLinkLogger
- Returns:
-
samlHandlerSignatureNotPresentError
public ProcessingException samlHandlerSignatureNotPresentError()
- Specified by:
samlHandlerSignatureNotPresentError
in interfacePicketLinkLogger
- Returns:
-
samlHandlerSignatureValidationError
public ProcessingException samlHandlerSignatureValidationError(Throwable t)
- Specified by:
samlHandlerSignatureValidationError
in interfacePicketLinkLogger
- Returns:
-
samlHandlerChainProcessingError
public RuntimeException samlHandlerChainProcessingError(Throwable t)
- Specified by:
samlHandlerChainProcessingError
in interfacePicketLinkLogger
- Returns:
-
trustKeyManagerMissing
public TrustKeyConfigurationException trustKeyManagerMissing()
- Specified by:
trustKeyManagerMissing
in interfacePicketLinkLogger
- Returns:
-
samlBase64DecodingError
public void samlBase64DecodingError(Throwable t)
- Specified by:
samlBase64DecodingError
in interfacePicketLinkLogger
-
samlParsingError
public void samlParsingError(Throwable t)
- Specified by:
samlParsingError
in interfacePicketLinkLogger
-
mappingContextNull
public void mappingContextNull()
- Specified by:
mappingContextNull
in interfacePicketLinkLogger
-
attributeManagerError
public void attributeManagerError(Throwable t)
- Specified by:
attributeManagerError
in interfacePicketLinkLogger
-
couldNotObtainSecurityContext
public void couldNotObtainSecurityContext()
- Specified by:
couldNotObtainSecurityContext
in interfacePicketLinkLogger
-
authFailedToCreatePrincipal
public LoginException authFailedToCreatePrincipal(Throwable t)
- Specified by:
authFailedToCreatePrincipal
in interfacePicketLinkLogger
- Returns:
-
authSharedCredentialIsNotSAMLCredential
public LoginException authSharedCredentialIsNotSAMLCredential(String className)
- Specified by:
authSharedCredentialIsNotSAMLCredential
in interfacePicketLinkLogger
- Returns:
-
authSTSConfigFileNotFound
public LoginException authSTSConfigFileNotFound()
- Specified by:
authSTSConfigFileNotFound
in interfacePicketLinkLogger
- Returns:
-
authErrorHandlingCallback
public LoginException authErrorHandlingCallback(Throwable t)
- Specified by:
authErrorHandlingCallback
in interfacePicketLinkLogger
- Returns:
-
authInvalidSAMLAssertionBySTS
public LoginException authInvalidSAMLAssertionBySTS()
- Specified by:
authInvalidSAMLAssertionBySTS
in interfacePicketLinkLogger
- Returns:
-
authAssertionValidationError
public LoginException authAssertionValidationError(Throwable t)
- Specified by:
authAssertionValidationError
in interfacePicketLinkLogger
- Returns:
-
authFailedToParseSAMLAssertion
public LoginException authFailedToParseSAMLAssertion(Throwable t)
- Specified by:
authFailedToParseSAMLAssertion
in interfacePicketLinkLogger
- Returns:
-
samlAssertionPasingFailed
public void samlAssertionPasingFailed(Throwable t)
- Specified by:
samlAssertionPasingFailed
in interfacePicketLinkLogger
-
authNullKeyStoreFromSecurityDomainError
public LoginException authNullKeyStoreFromSecurityDomainError(String name)
- Specified by:
authNullKeyStoreFromSecurityDomainError
in interfacePicketLinkLogger
-
authNullKeyStoreAliasFromSecurityDomainError
public LoginException authNullKeyStoreAliasFromSecurityDomainError(String name)
- Specified by:
authNullKeyStoreAliasFromSecurityDomainError
in interfacePicketLinkLogger
-
authNoCertificateFoundForAliasError
public LoginException authNoCertificateFoundForAliasError(String alias, String name)
- Specified by:
authNoCertificateFoundForAliasError
in interfacePicketLinkLogger
-
authSAMLInvalidSignatureError
public LoginException authSAMLInvalidSignatureError()
- Specified by:
authSAMLInvalidSignatureError
in interfacePicketLinkLogger
-
authSAMLAssertionExpiredError
public LoginException authSAMLAssertionExpiredError()
- Specified by:
authSAMLAssertionExpiredError
in interfacePicketLinkLogger
-
authSAMLAssertionIssuingFailed
public void authSAMLAssertionIssuingFailed(Throwable t)
- Specified by:
authSAMLAssertionIssuingFailed
in interfacePicketLinkLogger
-
jbossWSUnableToCreateBinaryToken
public void jbossWSUnableToCreateBinaryToken(Throwable t)
- Specified by:
jbossWSUnableToCreateBinaryToken
in interfacePicketLinkLogger
-
jbossWSUnableToCreateSecurityToken
public void jbossWSUnableToCreateSecurityToken()
- Specified by:
jbossWSUnableToCreateSecurityToken
in interfacePicketLinkLogger
-
jbossWSUnableToWriteSOAPMessage
public void jbossWSUnableToWriteSOAPMessage(Throwable t)
- Specified by:
jbossWSUnableToWriteSOAPMessage
in interfacePicketLinkLogger
-
jbossWSUnableToLoadJBossWSSEConfigError
public RuntimeException jbossWSUnableToLoadJBossWSSEConfigError()
- Specified by:
jbossWSUnableToLoadJBossWSSEConfigError
in interfacePicketLinkLogger
- Returns:
-
jbossWSAuthorizationFailed
public RuntimeException jbossWSAuthorizationFailed()
- Specified by:
jbossWSAuthorizationFailed
in interfacePicketLinkLogger
- Returns:
-
jbossWSErrorGettingOperationName
public void jbossWSErrorGettingOperationName(Throwable t)
- Specified by:
jbossWSErrorGettingOperationName
in interfacePicketLinkLogger
-
authSAMLCredentialNotAvailable
public LoginException authSAMLCredentialNotAvailable()
- Specified by:
authSAMLCredentialNotAvailable
in interfacePicketLinkLogger
- Returns:
-
authUnableToInstantiateHandler
public RuntimeException authUnableToInstantiateHandler(String token, Throwable t)
- Specified by:
authUnableToInstantiateHandler
in interfacePicketLinkLogger
- Returns:
-
jbossWSUnableToCreateSSLSocketFactory
public RuntimeException jbossWSUnableToCreateSSLSocketFactory(Throwable t)
- Specified by:
jbossWSUnableToCreateSSLSocketFactory
in interfacePicketLinkLogger
- Returns:
-
jbossWSUnableToFindSSLSocketFactory
public RuntimeException jbossWSUnableToFindSSLSocketFactory()
- Specified by:
jbossWSUnableToFindSSLSocketFactory
in interfacePicketLinkLogger
- Returns:
-
authUnableToGetIdentityFromSubject
public RuntimeException authUnableToGetIdentityFromSubject()
- Specified by:
authUnableToGetIdentityFromSubject
in interfacePicketLinkLogger
- Returns:
-
authSAMLAssertionNullOrEmpty
public RuntimeException authSAMLAssertionNullOrEmpty()
- Specified by:
authSAMLAssertionNullOrEmpty
in interfacePicketLinkLogger
- Returns:
-
jbossWSUncheckedAndRolesCannotBeTogether
public ProcessingException jbossWSUncheckedAndRolesCannotBeTogether()
- Specified by:
jbossWSUncheckedAndRolesCannotBeTogether
in interfacePicketLinkLogger
- Returns:
-
samlIDPHandlingSAML11Error
public void samlIDPHandlingSAML11Error(Throwable t)
- Specified by:
samlIDPHandlingSAML11Error
in interfacePicketLinkLogger
-
samlIDPValidationCheckFailed
public GeneralSecurityException samlIDPValidationCheckFailed()
- Specified by:
samlIDPValidationCheckFailed
in interfacePicketLinkLogger
- Returns:
-
samlIDPRequestProcessingError
public void samlIDPRequestProcessingError(Throwable t)
- Specified by:
samlIDPRequestProcessingError
in interfacePicketLinkLogger
-
samlIDPUnableToSetParticipantStackUsingDefault
public void samlIDPUnableToSetParticipantStackUsingDefault(Throwable t)
- Specified by:
samlIDPUnableToSetParticipantStackUsingDefault
in interfacePicketLinkLogger
-
samlHandlerConfigurationError
public void samlHandlerConfigurationError(Throwable t)
- Specified by:
samlHandlerConfigurationError
in interfacePicketLinkLogger
-
samlIDPSettingCanonicalizationMethod
public void samlIDPSettingCanonicalizationMethod(String canonicalizationMethod)
- Specified by:
samlIDPSettingCanonicalizationMethod
in interfacePicketLinkLogger
-
samlIDPConfigurationError
public RuntimeException samlIDPConfigurationError(Throwable t)
- Specified by:
samlIDPConfigurationError
in interfacePicketLinkLogger
- Returns:
-
configurationFileMissing
public RuntimeException configurationFileMissing(String configFile)
- Specified by:
configurationFileMissing
in interfacePicketLinkLogger
- Returns:
-
samlIDPInstallingDefaultSTSConfig
public void samlIDPInstallingDefaultSTSConfig()
- Specified by:
samlIDPInstallingDefaultSTSConfig
in interfacePicketLinkLogger
-
warn
public void warn(String message)
- Specified by:
warn
in interfacePicketLinkLogger
-
samlSPFallingBackToLocalFormAuthentication
public void samlSPFallingBackToLocalFormAuthentication()
- Specified by:
samlSPFallingBackToLocalFormAuthentication
in interfacePicketLinkLogger
-
unableLocalAuthentication
public IOException unableLocalAuthentication(Throwable t)
- Specified by:
unableLocalAuthentication
in interfacePicketLinkLogger
- Returns:
-
samlSPUnableToGetIDPDescriptorFromMetadata
public void samlSPUnableToGetIDPDescriptorFromMetadata()
- Specified by:
samlSPUnableToGetIDPDescriptorFromMetadata
in interfacePicketLinkLogger
-
samlSPConfigurationError
public RuntimeException samlSPConfigurationError(Throwable t)
- Specified by:
samlSPConfigurationError
in interfacePicketLinkLogger
- Returns:
-
samlSPSettingCanonicalizationMethod
public void samlSPSettingCanonicalizationMethod(String canonicalizationMethod)
- Specified by:
samlSPSettingCanonicalizationMethod
in interfacePicketLinkLogger
-
samlSPCouldNotDispatchToLogoutPage
public void samlSPCouldNotDispatchToLogoutPage(String logOutPage)
- Specified by:
samlSPCouldNotDispatchToLogoutPage
in interfacePicketLinkLogger
-
usingLoggerImplementation
public void usingLoggerImplementation(String className)
Description copied from interface:PicketLinkLogger
Logs the implementation being used to log messages and exceptions.
- Specified by:
usingLoggerImplementation
in interfacePicketLinkLogger
-
samlResponseFromIDPParsingFailed
public void samlResponseFromIDPParsingFailed()
- Specified by:
samlResponseFromIDPParsingFailed
in interfacePicketLinkLogger
-
auditSecurityDomainNotFound
public ConfigurationException auditSecurityDomainNotFound(Throwable t)
- Specified by:
auditSecurityDomainNotFound
in interfacePicketLinkLogger
- Returns:
-
auditAuditManagerNotFound
public ConfigurationException auditAuditManagerNotFound(String location, Throwable t)
- Specified by:
auditAuditManagerNotFound
in interfacePicketLinkLogger
- Returns:
-
samlIssueInstantMissingError
public IssueInstantMissingException samlIssueInstantMissingError()
- Specified by:
samlIssueInstantMissingError
in interfacePicketLinkLogger
- Returns:
-
samlSPResponseNotCatalinaResponseError
public RuntimeException samlSPResponseNotCatalinaResponseError(Object response)
- Specified by:
samlSPResponseNotCatalinaResponseError
in interfacePicketLinkLogger
- Returns:
-
samlLogoutError
public void samlLogoutError(Throwable t)
- Specified by:
samlLogoutError
in interfacePicketLinkLogger
-
samlErrorPageForwardError
public void samlErrorPageForwardError(String errorPage, Throwable t)
- Specified by:
samlErrorPageForwardError
in interfacePicketLinkLogger
-
samlSPHandleRequestError
public void samlSPHandleRequestError(Throwable t)
- Specified by:
samlSPHandleRequestError
in interfacePicketLinkLogger
-
samlSPProcessingExceptionError
public IOException samlSPProcessingExceptionError(Throwable t)
- Specified by:
samlSPProcessingExceptionError
in interfacePicketLinkLogger
- Returns:
-
samlInvalidProtocolBinding
public IllegalArgumentException samlInvalidProtocolBinding()
- Specified by:
samlInvalidProtocolBinding
in interfacePicketLinkLogger
- Returns:
-
samlHandlerServiceProviderConfigNotFound
public IllegalStateException samlHandlerServiceProviderConfigNotFound()
- Specified by:
samlHandlerServiceProviderConfigNotFound
in interfacePicketLinkLogger
- Returns:
-
samlSecurityTokenAlreadyPersisted
public void samlSecurityTokenAlreadyPersisted(String id)
- Specified by:
samlSecurityTokenAlreadyPersisted
in interfacePicketLinkLogger
-
samlSecurityTokenNotFoundInRegistry
public void samlSecurityTokenNotFoundInRegistry(String id)
- Specified by:
samlSecurityTokenNotFoundInRegistry
in interfacePicketLinkLogger
-
samlMetaDataFailedToCreateCacheDuration
public IllegalArgumentException samlMetaDataFailedToCreateCacheDuration(String timeValue)
- Specified by:
samlMetaDataFailedToCreateCacheDuration
in interfacePicketLinkLogger
-
samlMetaDataNoIdentityProviderDefined
public ConfigurationException samlMetaDataNoIdentityProviderDefined()
- Specified by:
samlMetaDataNoIdentityProviderDefined
in interfacePicketLinkLogger
-
samlMetaDataNoServiceProviderDefined
public ConfigurationException samlMetaDataNoServiceProviderDefined()
- Specified by:
samlMetaDataNoServiceProviderDefined
in interfacePicketLinkLogger
-
securityDomainNotFound
public ConfigurationException securityDomainNotFound()
- Specified by:
securityDomainNotFound
in interfacePicketLinkLogger
-
authenticationManagerError
public void authenticationManagerError(ConfigurationException e)
- Specified by:
authenticationManagerError
in interfacePicketLinkLogger
-
authorizationManagerError
public void authorizationManagerError(ConfigurationException e)
- Specified by:
authorizationManagerError
in interfacePicketLinkLogger
-
jbdcInitializationError
public IllegalStateException jbdcInitializationError(Throwable throwable)
- Specified by:
jbdcInitializationError
in interfacePicketLinkLogger
-
errorUnmarshallingToken
public RuntimeException errorUnmarshallingToken(Throwable e)
- Specified by:
errorUnmarshallingToken
in interfacePicketLinkLogger
-
runtimeException
public RuntimeException runtimeException(String msg, Throwable e)
- Specified by:
runtimeException
in interfacePicketLinkLogger
-
datasourceIsNull
public IllegalStateException datasourceIsNull()
- Specified by:
datasourceIsNull
in interfacePicketLinkLogger
-
cannotParseParameterValue
public IllegalArgumentException cannotParseParameterValue(String parameter, Throwable e)
- Specified by:
cannotParseParameterValue
in interfacePicketLinkLogger
-
cannotGetFreeClientPoolKey
public RuntimeException cannotGetFreeClientPoolKey(String key)
- Specified by:
cannotGetFreeClientPoolKey
in interfacePicketLinkLogger
-
cannotGetSTSConfigByKey
public RuntimeException cannotGetSTSConfigByKey(String key)
- Specified by:
cannotGetSTSConfigByKey
in interfacePicketLinkLogger
-
cannotGetUsedClientsByKey
public RuntimeException cannotGetUsedClientsByKey(String key)
- Specified by:
cannotGetUsedClientsByKey
in interfacePicketLinkLogger
-
removingNonExistingClientFromUsedClientsByKey
public RuntimeException removingNonExistingClientFromUsedClientsByKey(String key)
- Specified by:
removingNonExistingClientFromUsedClientsByKey
in interfacePicketLinkLogger
-
freePoolAlreadyContainsGivenKey
public RuntimeException freePoolAlreadyContainsGivenKey(String key)
- Specified by:
freePoolAlreadyContainsGivenKey
in interfacePicketLinkLogger
-
maximumNumberOfClientsReachedforPool
public RuntimeException maximumNumberOfClientsReachedforPool(String max)
- Specified by:
maximumNumberOfClientsReachedforPool
in interfacePicketLinkLogger
-
cannotSetMaxPoolSizeToNegative
public RuntimeException cannotSetMaxPoolSizeToNegative(String max)
- Specified by:
cannotSetMaxPoolSizeToNegative
in interfacePicketLinkLogger
-
parserFeatureNotSupported
public RuntimeException parserFeatureNotSupported(String feature)
- Specified by:
parserFeatureNotSupported
in interfacePicketLinkLogger
-
samlAssertionWrongAudience
public ProcessingException samlAssertionWrongAudience(String serviceURL)
- Specified by:
samlAssertionWrongAudience
in interfacePicketLinkLogger
-
samlExtensionUnknownChild
public ProcessingException samlExtensionUnknownChild(Class<?> clazz)
- Specified by:
samlExtensionUnknownChild
in interfacePicketLinkLogger
-
-