Alon Bar-Lev has posted comments on this change.

Change subject: aaa : Add engine sso
......................................................................


Patch Set 34:

(1 comment)

http://gerrit.ovirt.org/#/c/36119/34/backend/manager/modules/enginesso/src/main/java/org/ovirt/engine/core/sso/utils/SSOUtils.java
File 
backend/manager/modules/enginesso/src/main/java/org/ovirt/engine/core/sso/utils/SSOUtils.java:

Line 113:         }
Line 114:         KeyStore.PrivateKeyEntry entry = (KeyStore.PrivateKeyEntry) 
ks.getEntry(
Line 115:                 config.getSsoStoreAlias(),
Line 116:                 new 
KeyStore.PasswordProtection(config.getSsoStorePasswd().toCharArray()));
Line 117:         return new TicketEncoder(entry.getCertificate(), 
entry.getPrivateKey()).encode(content);
there is no reason why you cannot hold TicketEncoder instance in context.
Line 118:     }
Line 119: 
Line 120:     public static String getParameter(HttpServletRequest request, 
String paramName) {
Line 121:         String value = null;


-- 
To view, visit http://gerrit.ovirt.org/36119
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I4894fc12653027271b6abd4dd5313b10593703fa
Gerrit-PatchSet: 34
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to