[seam-commits] Seam SVN: r12463 - in modules/security/trunk/api/src/main/java/org/jboss/seam/security: events and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Apr 13 08:05:06 EDT 2010
Author: shane.bryzak at jboss.com
Date: 2010-04-13 08:05:04 -0400 (Tue, 13 Apr 2010)
New Revision: 12463
Added:
modules/security/trunk/api/src/main/java/org/jboss/seam/security/Credentials.java
Removed:
modules/security/trunk/api/src/main/java/org/jboss/seam/security/events/DefaultResolverChainCreatedEvent.java
Log:
removed DefaultResolverChainCreatedEvent, split Credentials into api/impl
Added: modules/security/trunk/api/src/main/java/org/jboss/seam/security/Credentials.java
===================================================================
--- modules/security/trunk/api/src/main/java/org/jboss/seam/security/Credentials.java (rev 0)
+++ modules/security/trunk/api/src/main/java/org/jboss/seam/security/Credentials.java 2010-04-13 12:05:04 UTC (rev 12463)
@@ -0,0 +1,27 @@
+package org.jboss.seam.security;
+
+/**
+ * Represents the credentials the current user will use to authenticate
+ *
+ * @author Shane Bryzak
+ *
+ */
+public interface Credentials
+{
+ String getUsername();
+
+ void setUsername(String username);
+
+ String getPassword();
+
+ void setPassword(String password);
+
+ boolean isSet();
+
+ boolean isInvalid();
+
+ void invalidate();
+
+ void clear();
+
+}
Deleted: modules/security/trunk/api/src/main/java/org/jboss/seam/security/events/DefaultResolverChainCreatedEvent.java
===================================================================
--- modules/security/trunk/api/src/main/java/org/jboss/seam/security/events/DefaultResolverChainCreatedEvent.java 2010-04-13 11:45:22 UTC (rev 12462)
+++ modules/security/trunk/api/src/main/java/org/jboss/seam/security/events/DefaultResolverChainCreatedEvent.java 2010-04-13 12:05:04 UTC (rev 12463)
@@ -1,23 +0,0 @@
-package org.jboss.seam.security.events;
-
-import org.jboss.seam.security.permission.ResolverChain;
-
-/**
- * This event is raised when the default permission resolver chain is created
- *
- * @author Shane Bryzak
- */
-public class DefaultResolverChainCreatedEvent
-{
- private ResolverChain chain;
-
- public DefaultResolverChainCreatedEvent(ResolverChain chain)
- {
- this.chain = chain;
- }
-
- public ResolverChain getChain()
- {
- return chain;
- }
-}
More information about the seam-commits
mailing list