diff options
Diffstat (limited to 'jetty-security/src/main/java/org/eclipse/jetty/security/DefaultIdentityService.java')
-rw-r--r-- | jetty-security/src/main/java/org/eclipse/jetty/security/DefaultIdentityService.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/DefaultIdentityService.java b/jetty-security/src/main/java/org/eclipse/jetty/security/DefaultIdentityService.java index e8a70785c6..06e0f205c9 100644 --- a/jetty-security/src/main/java/org/eclipse/jetty/security/DefaultIdentityService.java +++ b/jetty-security/src/main/java/org/eclipse/jetty/security/DefaultIdentityService.java @@ -19,7 +19,6 @@ package org.eclipse.jetty.security; import java.security.Principal; - import javax.security.auth.Subject; import org.eclipse.jetty.server.UserIdentity; @@ -31,7 +30,7 @@ import org.eclipse.jetty.server.UserIdentity; * This service handles only role reference maps passed in an * associated {@link org.eclipse.jetty.server.UserIdentity.Scope}. If there are roles * refs present, then associate will wrap the UserIdentity with one - * that uses the role references in the + * that uses the role references in the * {@link org.eclipse.jetty.server.UserIdentity#isUserInRole(String, org.eclipse.jetty.server.UserIdentity.Scope)} * implementation. All other operations are effectively noops. * @@ -42,10 +41,10 @@ public class DefaultIdentityService implements IdentityService public DefaultIdentityService() { } - + /* ------------------------------------------------------------ */ - /** - * If there are roles refs present in the scope, then wrap the UserIdentity + /** + * If there are roles refs present in the scope, then wrap the UserIdentity * with one that uses the role references in the {@link UserIdentity#isUserInRole(String, org.eclipse.jetty.server.UserIdentity.Scope)} */ public Object associate(UserIdentity user) @@ -54,7 +53,7 @@ public class DefaultIdentityService implements IdentityService } /* ------------------------------------------------------------ */ - public void disassociate(Object previous) + public void disassociate(Object previous) { } @@ -86,5 +85,5 @@ public class DefaultIdentityService implements IdentityService { return new DefaultUserIdentity(subject,userPrincipal,roles); } - + } |