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

Commit

Permalink
Update open id artifacts
Browse files Browse the repository at this point in the history
- remove unused try/catch to match with updated method.
  • Loading branch information
Alex Eng committed Sep 12, 2013
1 parent cb251ee commit f22f776
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 deletions.
26 changes: 13 additions & 13 deletions zanata-war/pom.xml
Expand Up @@ -1823,19 +1823,19 @@
</dependency>

<dependency>
<groupId>org.openid4java</groupId>
<artifactId>openid4java-nodeps</artifactId>
<version>0.9.5</version>
<exclusions>
<exclusion>
<artifactId>
commons-logging
</artifactId>
<groupId>
commons-logging
</groupId>
</exclusion>
</exclusions>
<groupId>org.openid4java</groupId>
<artifactId>openid4java</artifactId>
<version>0.9.8</version>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
15 changes: 4 additions & 11 deletions zanata-war/src/main/java/org/zanata/security/ZanataOpenId.java
Expand Up @@ -238,17 +238,10 @@ public void logout()
@Create
public void init()
{
try
{
manager = new ConsumerManager();
discovered = null;
id = null;
authResult = new OpenIdAuthenticationResult();
}
catch (ConsumerException e)
{
throw new RuntimeException(e);
}
manager = new ConsumerManager();
discovered = null;
id = null;
authResult = new OpenIdAuthenticationResult();
identity = (ZanataIdentity) Component.getInstance(ZanataIdentity.class, ScopeType.SESSION);
applicationConfiguration = (ApplicationConfiguration) Component.getInstance(ApplicationConfiguration.class, ScopeType.APPLICATION);
}
Expand Down

0 comments on commit f22f776

Please sign in to comment.