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