Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.security
Class FacesSecurityEvents

    java.lang.Object
      org.jboss.seam.security.FacesSecurityEvents

    @Name(value="org.jboss.seam.security.facesSecurityEvents")
    @Scope(value=APPLICATION)
    @Install(precedence=0,
             classDependencies="javax.faces.context.FacesContext")
    @BypassInterceptors
    @Startup
    public class FacesSecurityEvents

extends Object

Produces FacesMessages in response of certain security events, and helps to decouple the Identity component from JSF.

Author:
  Shane Bryzak

Constructor Summary
`FacesSecurityEvents()`

Method Summary
`void` | `addAlreadyLoggedInMessage()`
`void` | `addLoginFailedMessage(LoginException ex)`
`void` | `addLoginSuccessfulMessage()`
`void` | `addNotLoggedInMessage()`
`String` | `getLoginFailedMessage()`
`String` | `getLoginFailedMessageKey()`
`StatusMessage.Severity` | `getLoginFailedMessageSeverity()`
`String` | `getLoginSuccessfulMessage()`
`String` | `getLoginSuccessfulMessageKey()`
`StatusMessage.Severity` | `getLoginSuccessfulMessageSeverity()`
`void` | `postAuthenticate(Identity identity)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FacesSecurityEvents

    public FacesSecurityEvents()

Method Detail

### postAuthenticate

    @Observer(value="org.jboss.seam.security.postAuthenticate")
    public void postAuthenticate(Identity identity)

### addLoginFailedMessage

    @Observer(value="org.jboss.seam.security.loginFailed")
    public void addLoginFailedMessage(LoginException ex)

### getLoginFailedMessage

    public String getLoginFailedMessage()

### getLoginFailedMessageSeverity

    public StatusMessage.Severity getLoginFailedMessageSeverity()

### getLoginFailedMessageKey

    public String getLoginFailedMessageKey()

### addLoginSuccessfulMessage

    @Observer(value="org.jboss.seam.security.loginSuccessful")
    public void addLoginSuccessfulMessage()

### addNotLoggedInMessage

    @Observer(value="org.jboss.seam.security.notLoggedIn")
    public void addNotLoggedInMessage()

### getLoginSuccessfulMessageSeverity

    public StatusMessage.Severity getLoginSuccessfulMessageSeverity()

### getLoginSuccessfulMessage

    public String getLoginSuccessfulMessage()

### getLoginSuccessfulMessageKey

    public String getLoginSuccessfulMessageKey()

### addAlreadyLoggedInMessage

    @Observer(value="org.jboss.seam.security.alreadyLoggedIn")
    public void addAlreadyLoggedInMessage()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.