|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.MessageResolver
public class MessageResolver
Resolves messages from rule result details in order to provide a facility for customizing messages such as password rule validation failures.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_MESSAGE_PATH
Classpath location of default message map. |
| Constructor Summary | |
|---|---|
MessageResolver()
Creates a new message resolver with the default message map. |
|
MessageResolver(java.util.Properties properties)
Creates a new message resolver with the supplied message map. |
|
| Method Summary | |
|---|---|
java.lang.String |
resolve(RuleResultDetail detail)
Resolves the message for the supplied rule result detail. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_MESSAGE_PATH
| Constructor Detail |
|---|
public MessageResolver()
public MessageResolver(java.util.Properties properties)
properties - map of keys to messages.| Method Detail |
|---|
public java.lang.String resolve(RuleResultDetail detail)
detail - rule result detail
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||