|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
UserCredentialsProvider
class that can be used to supply user credentials.ResponseFormatter
used by the servlet
Level
is not specified or an invalid one
is specified.
Logger
instance to allow the other classes in the
com.caplin.keymaster and examples packages.StandardKeyMaster
class to create an instance.
com.caplin.credentials.util.RemoteCredentialsEncoder#encodeErrorResponse
to format an
appropriate error response.
AdvancedResponseFormatter.formatResponse(HttpServletRequest, String, UserCredentialsProvider)
instead.
ResponseFormatter
that the servlet can deal with.
KeyMaster
that has been configured with the specified properties.
StandardKeyMaster
calls this method to get a map of key-value pairs,
and adds this data to the signed credentials token it generates.
The use case of generating a token without a username will not be supported in future versions.
Gets a unique token that a client can use to log into the Liberator.
Use KeyMaster.generateToken(String, String)
instead.
Gets a unique token that a client can use to log into the Liberator.
The extraDataToSign argument can be used to sign extra information that can be passed to Liberator. This extra data will be signed as part of the generated token.
StandardKeyMaster
needs to get the
username to send back in the response to the client.
Exception
that this class was instantiated with.
Logger
used by KeyMaster.
StandardKeyMaster
adds to the signed credentials tokens it generates.WrappedException.printStackTraceDeep(PrintWriter)
with the
standard system error output stream.
Throwable.printStackTrace(java.io.PrintWriter)
to
do a stack trace
and then calls the same method belonging to the Exception this class was instantiated with.
PrintStream
into a PrintWriter
and then calls
printStackTraceDeep( PrintWriter pw ) belonging to this class.
KeyGenerator
.
KeyGenerator
used when creating
the set of keys.
Exception
constructor using the message parameter and set class varibales.
Exception
constructor and initalise class varibales.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |