Package org.cilogon.proxy.servlet
Class DBServiceSerializer2
- java.lang.Object
-
- org.cilogon.oauth2.servlet.util.DBServiceSerializer
-
- org.cilogon.proxy.servlet.DBServiceSerializer2
-
public class DBServiceSerializer2 extends DBServiceSerializer
Created by Jeff Gaynor
on 1/26/15 at 11:51 AM
-
-
Field Summary
-
Fields inherited from class org.cilogon.oauth2.servlet.util.DBServiceSerializer
CILOGON_CALLBACK_URI, CILOGON_FAILURE_URI, CILOGON_PORTAL_NAME, CILOGON_SUCCESS_URI, clientApprovalKeys, clientKeys, idpKeys, tfKeys, userKeys, UTF8_ENCODING
-
-
Constructor Summary
Constructors Constructor Description DBServiceSerializer2(UserKeys userKeys, IDPKeys idpKeys, TwoFactorSerializationKeys tfk, org.oa4mp.delegation.common.storage.clients.ClientKeys cKeys, org.oa4mp.delegation.common.storage.clients.ClientApprovalKeys caKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(PrintWriter w, org.oa4mp.server.loader.oauth2.storage.clients.OA2Client oa2Client, int statusCode)
void
serialize(PrintWriter w, org.oa4mp.server.loader.oauth2.storage.transactions.OA2ServiceTransaction oa2ServiceTransaction, int status)
void
serialize(PrintWriter w, org.oa4mp.server.loader.oauth2.storage.transactions.OA2ServiceTransaction oa2ServiceTransaction, Err errResponse)
void
writeMessage(PrintWriter w, Err errResponse)
-
Methods inherited from class org.cilogon.oauth2.servlet.util.DBServiceSerializer
checkForStatus, decode, deserializeIdps, deserializeToMap, deserializeUser, deserializeUserID, doUserSerialization, encode, encode, onlyPrintIfNotTrivial, parseLine, print, print, print, print, print, readResponseOnly, reponseOk, serialize, serialize, serialize, serialize, serialize, serialize, serialize, setUserField, splitLine, writeMessage, writeMessage
-
-
-
-
Constructor Detail
-
DBServiceSerializer2
public DBServiceSerializer2(UserKeys userKeys, IDPKeys idpKeys, TwoFactorSerializationKeys tfk, org.oa4mp.delegation.common.storage.clients.ClientKeys cKeys, org.oa4mp.delegation.common.storage.clients.ClientApprovalKeys caKeys)
-
-
Method Detail
-
writeMessage
public void writeMessage(PrintWriter w, Err errResponse) throws IOException
- Throws:
IOException
-
serialize
public void serialize(PrintWriter w, org.oa4mp.server.loader.oauth2.storage.clients.OA2Client oa2Client, int statusCode) throws IOException
- Throws:
IOException
-
serialize
public void serialize(PrintWriter w, org.oa4mp.server.loader.oauth2.storage.transactions.OA2ServiceTransaction oa2ServiceTransaction, int status) throws IOException
- Throws:
IOException
-
serialize
public void serialize(PrintWriter w, org.oa4mp.server.loader.oauth2.storage.transactions.OA2ServiceTransaction oa2ServiceTransaction, Err errResponse) throws IOException
- Throws:
IOException
-
-