Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
merged
Browse files Browse the repository at this point in the history
  • Loading branch information
hding committed May 5, 2011
2 parents 0fa394d + 883ad8c commit 48cb942
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -29,6 +29,8 @@
import javax.faces.context.FacesContext;


import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Install;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Expand All @@ -52,12 +54,12 @@ public class SpNegoIdentity implements Serializable
private static final String SUBJECT = "subject";
private static final String PRINCIPAL = "principal";
private static final LogProvider log = Logging.getLogProvider(SpNegoIdentity.class);
private ZanataIdentity identity;

public void setCredential()
{
try
{
ZanataIdentity identity = (ZanataIdentity) Component.getInstance(ZanataIdentity.class, ScopeType.SESSION);
if (identity.isLoggedIn())
{
if (Events.exists())
Expand Down

0 comments on commit 48cb942

Please sign in to comment.