Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ecsec Public
reqesidta-prototype
client-signer
Commits
dbcec9e5
Commit
dbcec9e5
authored
Sep 26, 2019
by
Tobias Wich
Browse files
Fix typo in minor constant
parent
ca539a00
Changes
3
Hide whitespace changes
Inline
Side-by-side
addons/tr03112/src/main/java/org/openecard/binding/tctoken/TCTokenHandler.java
View file @
dbcec9e5
...
...
@@ -379,7 +379,7 @@ public class TCTokenHandler {
WSException
ex
=
(
WSException
)
innerException
;
errorMsg
=
createResponseFromWsEx
(
ex
,
response
);
}
else
if
(
innerException
instanceof
PAOSConnectionException
)
{
response
.
setResult
(
WSHelper
.
makeResultError
(
ResultMinor
.
TRUSTED_CHANNEL_ESTABLIS
C
HMENT_FAILED
,
response
.
setResult
(
WSHelper
.
makeResultError
(
ResultMinor
.
TRUSTED_CHANNEL_ESTABLISHMENT_FAILED
,
w
.
getLocalizedMessage
()));
}
else
if
(
innerException
instanceof
InterruptedException
)
{
response
.
setResultCode
(
BindingResultCode
.
INTERRUPTED
);
...
...
addons/tr03112/src/main/java/org/openecard/binding/tctoken/TCTokenVerifier.java
View file @
dbcec9e5
...
...
@@ -396,7 +396,7 @@ public class TCTokenVerifier {
}
URI
refreshUrlAsUrl
=
createUrlWithErrorParams
(
refreshUrl
,
ResultMinor
.
TRUSTED_CHANNEL_ESTABLIS
C
HMENT_FAILED
,
ex
.
getMessage
());
ResultMinor
.
TRUSTED_CHANNEL_ESTABLISHMENT_FAILED
,
ex
.
getMessage
());
throw
new
InvalidTCTokenElement
(
refreshUrlAsUrl
.
toString
(),
ex
);
}
catch
(
IOException
|
HttpResourceException
|
InvalidUrlException
|
InvalidProxyException
|
ValidationError
|
URISyntaxException
ex1
)
{
String
errorUrl
=
token
.
getComErrorAddressWithParams
(
ResultMinor
.
COMMUNICATION_ERROR
);
...
...
addons/tr03112/src/main/java/org/openecard/binding/tctoken/ex/ResultMinor.java
View file @
dbcec9e5
...
...
@@ -33,7 +33,7 @@ public class ResultMinor {
/**
* Indicates that the eID-Client failed to set up a trusted channel to the eID-Server.
*/
public
static
final
String
TRUSTED_CHANNEL_ESTABLIS
C
HMENT_FAILED
=
"trustedChannelEstablishmentFailed"
;
public
static
final
String
TRUSTED_CHANNEL_ESTABLISHMENT_FAILED
=
"trustedChannelEstablishmentFailed"
;
/**
* Indicates that the user aborted the authentication.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment