Searched refs:notification (Results 1 - 25 of 206) sorted by relevance

123456789

/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/ui/notification/
H A DonValidate-notification.js28 * This script validates if notification is valid.
42 var notification = openidm.decrypt(object);
44 if ( (!notification.requester || notification.requester === "")
45 && (!notification.requesterId || notification.requesterId === "") ) {
49 requiredValidator(notification.receiverId, "Notification Receiver");
50 requiredValidator(notification.createDate, "Create Date");
51 requiredValidator(notification.type, "Notification Type");
52 requiredValidator(notification
[all...]
H A DuserNotifications.js32 var userId = context.security.authorization.id, res, ret, params, notification;
40 ret = openidm.query("repo/ui/notification", params);
51 notification = openidm.read("repo/ui/notification/"+request.resourcePath);
53 if(notification !== null) {
54 if (notification.receiverId === userId) {
55 return openidm['delete']('repo/ui/notification/' + notification._id, notification._rev);
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestAccountStatusNotificationHandler.java45 * This class implements a simple account status notification handler that may
57 * Creates a new instance of this test account status notification handler.
80 public void handleStatusNotification(AccountStatusNotification notification) argument
84 assertNotNull(notification);
85 assertNotNull(notification.getNotificationType());
86 assertNotNull(notification.getUserDN());
87 assertNotNull(notification.getUserEntry());
88 assertNotNull(notification.getMessage());
89 assertNotNull(notification.getNotificationProperties());
91 notification
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestAccountStatusNotificationHandler.java44 * This class implements a simple account status notification handler that may
56 * Creates a new instance of this test account status notification handler.
79 public void handleStatusNotification(AccountStatusNotification notification) argument
83 assertNotNull(notification);
84 assertNotNull(notification.getNotificationType());
85 assertNotNull(notification.getUserDN());
86 assertNotNull(notification.getUserEntry());
87 assertNotNull(notification.getMessage());
88 assertNotNull(notification.getNotificationProperties());
90 notification
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestAccountStatusNotificationHandler.java45 * This class implements a simple account status notification handler that may
57 * Creates a new instance of this test account status notification handler.
80 public void handleStatusNotification(AccountStatusNotification notification) argument
84 assertNotNull(notification);
85 assertNotNull(notification.getNotificationType());
86 assertNotNull(notification.getUserDN());
87 assertNotNull(notification.getUserEntry());
88 assertNotNull(notification.getMessage());
89 assertNotNull(notification.getNotificationProperties());
91 notification
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestAccountStatusNotificationHandler.java44 * This class implements a simple account status notification handler that may
56 * Creates a new instance of this test account status notification handler.
79 public void handleStatusNotification(AccountStatusNotification notification) argument
83 assertNotNull(notification);
84 assertNotNull(notification.getNotificationType());
85 assertNotNull(notification.getUserDN());
86 assertNotNull(notification.getUserEntry());
87 assertNotNull(notification.getMessage());
88 assertNotNull(notification.getNotificationProperties());
90 notification
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestAccountStatusNotificationHandler.java45 * This class implements a simple account status notification handler that may
57 * Creates a new instance of this test account status notification handler.
80 public void handleStatusNotification(AccountStatusNotification notification) argument
84 assertNotNull(notification);
85 assertNotNull(notification.getNotificationType());
86 assertNotNull(notification.getUserDN());
87 assertNotNull(notification.getUserEntry());
88 assertNotNull(notification.getMessage());
89 assertNotNull(notification.getNotificationProperties());
91 notification
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/extensions/
H A DTestAccountStatusNotificationHandler.java40 * This class implements a simple account status notification handler that may
52 * Creates a new instance of this test account status notification handler.
71 public void handleStatusNotification(AccountStatusNotification notification) argument
75 assertNotNull(notification);
76 assertNotNull(notification.getNotificationType());
77 assertNotNull(notification.getUserDN());
78 assertNotNull(notification.getUserEntry());
79 assertNotNull(notification.getMessage());
80 assertNotNull(notification.getNotificationProperties());
82 notification
[all...]
/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A DFRAMechanism.m48 for (FRANotification *notification in self.notifications) {
49 if (notification.isPending) {
56 - (BOOL)addNotification:(FRANotification*)notification error:(NSError *__autoreleasing*)error {
57 [notification setParent:self];
58 [notificationList addObject:notification];
60 return [self.database insertNotification:notification error:error];
65 - (BOOL)removeNotification:(FRANotification*)notification error:(NSError *__autoreleasing*)error {
66 [notificationList removeObject:notification];
67 [notification setParent:nil];
69 return [self.database deleteNotification:notification erro
[all...]
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/ui/
H A DonDelete-user-cleanup.js35 notificationQueryResult = openidm.query("repo/ui/notification", findUserNotificationsParams);
39 var notification = notificationQueryResult.result[notificationPointer];
40 openidm['delete']('repo/ui/notification/' + notification._id, notification._rev);
/forgerock/authenticator-ios-v2/unit-tests/
H A DFRANotificationTest.m37 FRANotification* notification;
50 notification = [[FRANotification alloc] initWithDatabase:database identityModel:mockIdentityModel messageId:@"messageId" challenge:@"challenge" timeReceived:[NSDate date] timeToLive:timeToLive loadBalancerCookieData:@"amlbcookie=03"];
51 OCMStub([(FRAIdentityDatabaseSQLiteOperations *)mockSqlOperations insertNotification:notification error:nil]).andReturn(YES);
52 OCMStub([(FRAIdentityDatabaseSQLiteOperations *)mockSqlOperations updateNotification:notification error:nil]).andReturn(YES);
55 [notification setParent:mechanism];
70 XCTAssertEqual([notification isPending], YES);
71 XCTAssertEqual([notification isApproved], NO);
72 XCTAssertEqual([notification isDenied], NO);
73 XCTAssertEqual([notification isExpired], NO);
92 [notification approveWithHandle
[all...]
H A DFRANotificationGatewayTests.m49 NSDictionary *notification = @{};
52 [notificationGateway application:mockApplication didReceiveRemoteNotification:notification];
55 OCMVerify([mockNotificationHandler application:mockApplication didReceiveRemoteNotification:notification]);
60 NSDictionary *notification = @{};
63 didReceiveRemoteNotification:notification
67 OCMVerify([mockNotificationHandler application:mockApplication didReceiveRemoteNotification:notification]);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/
H A DNotificationMessageNotificationMessageTemplateElement.java37 * This class implements a notification message template element that will
38 * generate a value that is the message for the account status notification.
44 * Creates a new notification message notification message template element.
52 * Creates a new notification message notification message template element.
66 AccountStatusNotification notification)
69 buffer.append(notification.getMessage());
71 buffer.append(notification.getMessage().toString().toLowerCase());
73 buffer.append(notification
65 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
[all...]
H A DNotificationTypeNotificationMessageTemplateElement.java37 * This class implements a notification message template element that will
38 * generate a value that is the name of the account status notification type.
44 * Creates a new notification type notification message template element.
52 * Creates a new notification type notification message template element.
66 AccountStatusNotification notification)
69 buffer.append(notification.getNotificationType().getName());
71 buffer.append(notification.getNotificationType().getName().toLowerCase());
73 buffer.append(notification
65 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
[all...]
/forgerock/openam/openam-notifications/src/main/java/org/forgerock/openam/notifications/
H A DConsumer.java41 * Accepts the given notification.
43 * @param notification a non-null notification
45 void accept(JsonValue notification); argument
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/
H A DNotificationMessageNotificationMessageTemplateElement.java37 * This class implements a notification message template element that will
38 * generate a value that is the message for the account status notification.
44 * Creates a new notification message notification message template element.
57 AccountStatusNotification notification)
59 buffer.append(notification.getMessage());
56 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
H A DNotificationTypeNotificationMessageTemplateElement.java37 * This class implements a notification message template element that will
38 * generate a value that is the name of the account status notification type.
44 * Creates a new notification type notification message template element.
57 AccountStatusNotification notification)
59 buffer.append(notification.getNotificationType().getName());
56 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
H A DUserDNNotificationMessageTemplateElement.java37 * This class implements a notification message template element that will
44 * Creates a new user DN notification message template element.
57 AccountStatusNotification notification)
59 buffer.append(notification.getUserDN().toString());
56 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
/forgerock/opendj2/src/server/org/opends/server/extensions/
H A DNotificationMessageNotificationMessageTemplateElement.java36 * This class implements a notification message template element that will
37 * generate a value that is the message for the account status notification.
43 * Creates a new notification message notification message template element.
56 AccountStatusNotification notification)
58 buffer.append(notification.getMessage());
55 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
H A DNotificationTypeNotificationMessageTemplateElement.java36 * This class implements a notification message template element that will
37 * generate a value that is the name of the account status notification type.
43 * Creates a new notification type notification message template element.
56 AccountStatusNotification notification)
58 buffer.append(notification.getNotificationType().getName());
55 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
H A DUserDNNotificationMessageTemplateElement.java36 * This class implements a notification message template element that will
43 * Creates a new user DN notification message template element.
56 AccountStatusNotification notification)
58 buffer.append(notification.getUserDN().toString());
55 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/
H A DNotificationMessageNotificationMessageTemplateElement.java37 * This class implements a notification message template element that will
38 * generate a value that is the message for the account status notification.
44 * Creates a new notification message notification message template element.
57 AccountStatusNotification notification)
59 buffer.append(notification.getMessage());
56 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
H A DNotificationTypeNotificationMessageTemplateElement.java37 * This class implements a notification message template element that will
38 * generate a value that is the name of the account status notification type.
44 * Creates a new notification type notification message template element.
57 AccountStatusNotification notification)
59 buffer.append(notification.getNotificationType().getName());
56 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
H A DUserDNNotificationMessageTemplateElement.java37 * This class implements a notification message template element that will
44 * Creates a new user DN notification message template element.
57 AccountStatusNotification notification)
59 buffer.append(notification.getUserDN().toString());
56 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument
/forgerock/opendj2-hg/src/server/org/opends/server/extensions/
H A DNotificationMessageNotificationMessageTemplateElement.java36 * This class implements a notification message template element that will
37 * generate a value that is the message for the account status notification.
43 * Creates a new notification message notification message template element.
56 AccountStatusNotification notification)
58 buffer.append(notification.getMessage());
55 generateValue(MessageBuilder buffer, AccountStatusNotification notification) argument

Completed in 30 milliseconds

123456789