File tree Expand file tree Collapse file tree 5 files changed +13
-0
lines changed
impl/src/main/java/org/jboss/seam/security Expand file tree Collapse file tree 5 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,11 @@ protected boolean authenticate() throws AuthenticationException
274
274
275
275
Authenticator authenticator = lookupAuthenticator ();
276
276
277
+ if (authenticator == null )
278
+ {
279
+ throw new AuthenticationException ("No Authenticator could be located" );
280
+ }
281
+
277
282
if (AuthStatus .SUCCESS .equals (authenticator .authenticate ()))
278
283
{
279
284
user = new UserImpl (credentials .getUsername ());
Original file line number Diff line number Diff line change 7
7
8
8
import org .jboss .seam .persistence .transaction .Transactional ;
9
9
import org .jboss .seam .security .Identity ;
10
+ import org .jboss .seam .solder .core .Requires ;
10
11
import org .picketlink .idm .api .Credential ;
11
12
import org .picketlink .idm .api .IdentitySession ;
12
13
import org .picketlink .idm .common .exception .IdentityException ;
13
14
import org .picketlink .idm .impl .api .PasswordCredential ;
14
15
16
+ @ Requires ("org.jboss.seam.persistence.transaction.TransactionInterceptor" )
15
17
public @ Transactional @ Model class ChangePasswordAction implements Serializable
16
18
{
17
19
private static final long serialVersionUID = -8727330690588109980L ;
Original file line number Diff line number Diff line change 10
10
11
11
import org .jboss .seam .persistence .transaction .Transactional ;
12
12
import org .jboss .seam .security .GroupImpl ;
13
+ import org .jboss .seam .solder .core .Requires ;
13
14
import org .picketlink .idm .api .Group ;
14
15
import org .picketlink .idm .api .IdentitySession ;
15
16
import org .picketlink .idm .common .exception .IdentityException ;
19
20
*
20
21
* @author Shane Bryzak
21
22
*/
23
+ @ Requires ("org.jboss.seam.persistence.transaction.TransactionInterceptor" )
22
24
public @ Named @ ConversationScoped class GroupAction implements Serializable
23
25
{
24
26
private static final long serialVersionUID = -1553124158319503903L ;
Original file line number Diff line number Diff line change 8
8
import javax .inject .Named ;
9
9
10
10
import org .jboss .seam .persistence .transaction .Transactional ;
11
+ import org .jboss .seam .solder .core .Requires ;
11
12
import org .picketlink .idm .api .IdentitySession ;
12
13
import org .picketlink .idm .common .exception .FeatureNotSupportedException ;
13
14
import org .picketlink .idm .common .exception .IdentityException ;
17
18
*
18
19
* @author Shane Bryzak
19
20
*/
21
+ @ Requires ("org.jboss.seam.persistence.transaction.TransactionInterceptor" )
20
22
public @ Named @ ConversationScoped class RoleAction implements Serializable
21
23
{
22
24
private static final long serialVersionUID = -4215849488301658353L ;
Original file line number Diff line number Diff line change 12
12
13
13
import org .jboss .seam .persistence .transaction .Transactional ;
14
14
import org .jboss .seam .security .UserImpl ;
15
+ import org .jboss .seam .solder .core .Requires ;
15
16
import org .picketlink .idm .api .Attribute ;
16
17
import org .picketlink .idm .api .Group ;
17
18
import org .picketlink .idm .api .IdentitySession ;
27
28
*
28
29
* @author Shane Bryzak
29
30
*/
31
+ @ Requires ("org.jboss.seam.persistence.transaction.TransactionInterceptor" )
30
32
public @ Named @ ConversationScoped class UserAction implements Serializable
31
33
{
32
34
private static final long serialVersionUID = 5820385095080724087L ;
You can’t perform that action at this time.
0 commit comments